$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude> let yoba a b = if a < b then 123 else "abc"
<interactive>:1:29:
No instance for (Num [Char])
arising from the literal `123' at <interactive>:1:29-31
Possible fix: add an instance declaration for (Num [Char])
In the expression: if a < b then 123 else "abc"
In the definition of `yoba':
yoba a b = if a < b then 123 else "abc"
Prelude>
guys when experiment with a new language don't treat it as an old one you know, there is a reason why prolog is prolog and not perl. because they represent different mindsets
what would you thinks if some chinese man came and tell you: "hey english is shit. why if i tell ``treetree" doesn't mean forest as in chinese, man you idiom sucks"
ofter under-skilled people make incorrect judgments and the worse is that they think other persons should know their opinion socrates would roll in his grave