Quora: Functional Programming / Side Effect / Monads

https://www.quora.com/How-does-functional-programming-reduce-side-effects/answer/Quildreen-Motta?share=5295321a&srid=oZzP

Advertisements

“Arrow “: Functional Kotlin

Λrrow is a functional programming library for the Kotlin programming language born from the fusion of KΛTEGORY and funKTionale.

Kategory and Funktionale were the two most relevant FP libraries for Kotlin in 2017.

http://arrow-kt.io/

http://arrow-kt.io/docs/typeclasses/functor/

A Fistful of Monads

Kotlin Monad (and Functor, Applicative)

1. Functor “map” (Kotlin) (fmap or <$> in Haskell)

https://hackernoon.com/kotlin-functors-applicatives-and-monads-in-pictures-part-3-3-832d58d92445

2. Monadsflatmap” (>>= in Haskell)

Haskell Monad:

http://learnyouahaskell.com/a-fistful-of-monads

Do not fear Monoid / Monoidal Category / Monad:

Monad in Haskell

F# Monad:

View story at Medium.com

(分享自知乎网)

https://zhuanlan.zhihu.com/p/29542641