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

Strong typing vs terribad typing

Name: Anonymous 2013-11-14 20:34

Alright prague

How should the expression
"5" + 6
be resolved?

Name: Anonymous 2013-11-14 23:20

only one answer

No instance for (Num [Char])
      arising from a use of `+'
    Possible fix: add an instance declaration for (Num [Char])
    In the expression: "5" + 6
    In an equation for `it': it = "5" + 6

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