Re:Show HN: Tic Tac Toe Implemented in Elm
by tome on Sunday October 15, 2017 @12:13PM
(#15477746)
It's full of stuff like
which is 8 lines where idiomatic Haskell would take 3.
I don't know if Elm encourages or mandates that verbose style but it's not some sort of "FP" requirement.
[ Parent
| on HN ]
Re:Show HN: Tic Tac Toe Implemented in Elm
by vishaltelangre on Monday October 16, 2017 @10:23AM
(#15483365)
Compiler throws following error if I do it.
Naming multiple top-level values `flipPlayer` makes things ambiguous. When you
say `flipPlayer` which one do you want?
128| flipPlayer O =