Abstract

Monads are powerful constructs used in functional programming for managing processes with side effects, but also for modelling and building complicated computations. Monads are theoretically founded in Category Theory and widely popularised by the Haskell programming language. In this paper, we show how monads can be implemented and used in Swift, the new language for developing iOS and OS X applications.

Keywords: Haskell, монаде, Swift
Published on website: 20.2.2015