RobertBendun / haskell-monads-exploration

Exploring State, Reader, Writer, RWS monads in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haskell Monads exploration

This repo contains exploration of State, Reader, Writer and RWS monads in Haskell, due to collaboration on the university.

What's interesting here?

Due to development of Stacky, my example for ReadWriteState Monad is simple concatenative stack-based language bytecode interpreter (+ compiler). You can find it in rws-stack-based-language.hs. Additionaly it uses lenses.

File naming convention

<monad>-<example>.hs is a file where I explore monad <monad> by modeling <example>

Dependencies

Only lenses, why there are not part of standard I dunno.

$ sudo pacman -S ghc ghc-libs ghc-static ghc-lens

About

Exploring State, Reader, Writer, RWS monads in Haskell

License:Boost Software License 1.0


Languages

Language:Haskell 100.0%