Hacker News new | ask | show | jobs
by justjust 859 days ago
Your code is very limited. Blocks allow you to return any type of object or to have any kind of side effects, the result is not limited to be an IO monad. Also in Haskell you can't use variable number of arguments and the syntax is very different (curry by default of first argument), so no way to translate haskell style to ruby.