fork download
  1. module Tokens where
  2.  
  3. data Token = A | B | C
  4. deriving Eq
  5. instance Show Token where
  6. show A = " "
  7. show B = "\t"
  8. show C = "\n"
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
[1 of 1] Compiling Tokens           ( prog.hs, prog.o )

<no location info>: error:
    output was redirected with -o, but no output will be generated
because there is no Main module.
stdout
Standard output is empty