Skip to content

Instantly share code, notes, and snippets.

@n4to4
n4to4 / gist:0a1731b946eeb7085c1cb36ae98df7e2
Created August 30, 2016 02:01 — forked from runarorama/gist:a8fab38e473fafa0921d
Compositional application architecture with reasonably priced monads
sealed trait Interact[A]
case class Ask(prompt: String)
extends Interact[String]
case class Tell(msg: String)
extends Interact[Unit]
trait Monad[M[_]] {
def pure[A](a: A): M[A]
@n4to4
n4to4 / README.md
Created December 9, 2016 15:40 — forked from pathikrit/README.md
My highly opinionated list of things needed to build an app in Scala