Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Node.js is Cancer

Name: Anonymous 2011-10-03 7:05

Name: Anonymous 2011-10-05 6:15

>>30
Can you give us an example of where the Haskell Type System worked against you?
Yes. I can.

$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> ["Abc", 123]

<interactive>:1:8:
    No instance for (Num [Char])
      arising from the literal `123' at <interactive>:1:8-10
    Possible fix: add an instance declaration for (Num [Char])
    In the expression: 123
    In the expression: ["Abc", 123]
    In the definition of `it': it = ["Abc", 123]
Prelude>

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List