Can I read Haskell Monad Exercises: Maybe & State on EtoBox?
Haskell Monad Exercises: Maybe & State by jdkdjs is a document available to read on EtoBox.
What is Haskell Monad Exercises: Maybe & State about?
This document describes two Haskell exercises involving monads. The first exercise involves defining the Expr data type as a monad and using it to implement functions for replacing variables and converting expressions. The second exercise involves modeling randomness using the State monad by rewriting a dice rolling program to explicitly manage the random seed.
- Author
- jdkdjs
- Language
- EN