New answers tagged

2

OverloadedStrings, 77 bytes import Data.String instance IsString Double where fromString _=0 main=print"" Try it online! Other OverloadedStrings answers: by ბიმო, by felixphew. This one does not require other extensions. Created by Ørjan Johansen.


1

LexicalNegation, 20 bytes main=print$ -1`mod`2 (No TIO: ghc 8.2.2 < 9.0.1) Same as NegativeLiterals.


1

NegativeLiterals, 20 bytes main=print$ -1`mod`2 Try it online! Copied from this answer.


Top 50 recent answers are included