|
|
|
|
|
by theflubba
4274 days ago
|
|
No. Scala is a very functional language that you can write imperative code with. Swift is not functional and doesn't have real monads. Ruby monads are just a way of obfuscating your code. Monads are more than the monadic bind >>=. You cannot just use monads and ignore the rest of category theory, it's like using a stick to fix the engine of a car. Useless. Just use a real functional language so you don't have to deal with this tomfoolery. Example of a real monad:
http://www.haskell.org/haskellwiki/Monad |
|