
26 Jul
2012
26 Jul
'12
1:42 p.m.
Is it me or is this output not right? The \ syntax doesn't indicate a newline. chris@midnight:~$ ghci GHCi, version 7.4.2: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> "abc\n123" :: () <interactive>:2:1: Couldn't match expected type `()' with actual type `[Char]' In the expression: "abc\ \123" :: () In an equation for `it': it = "abc\ \123" :: ()
4682
Age (days ago)
4682
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christopher Done