16 November 2015 / Marcin Rzeźnicki

Arrows, Monads and Kleisli – part II

, ,


In part I I showed how Kleisli arrows could be used to implement domain modeling. Arrows serve as a foundation for a ‘DSL’ in which one can implement typical scenarios that arise in business-logic code: decoupling flow control from domain code, dealing with errors etc. Much to the spirit of Railway Oriented Programming but implemented […]

Read more

28 October 2015 / Marcin Rzeźnicki

Arrows, Monads and Kleisli – part I

, , ,


During Scala Days Amsterdam I came across a concept of arrow. It was called a general interface to computation and it looked like a technique that could bridge code that is imperative in nature with proper functional programming. Later on I read about Railway Oriented Programming and found it really neat. I was compelled to […]

Read more