[Haskell-cafe] State Monad Tutorial

Yuchen Pei ycp at gnu.org
Tue Jun 14 00:50:05 UTC 2022


On Mon 2022-06-13 19:11:01 +0200, danon wrote:

> Saw the discussion on the https://wiki.haskell.org/Talk:State_Monad
>
> I donĀ“t have an account on the wiki.
>
> If anyone is interested in a small practical example of how to State
> Monad. I may have 1 or 2.

Superficially I think one obstacle with understanding the state monad is
the overloaded term "state" that used for both the monad (State /
StateT) and the first param s.

>
> Kind Regards
>
> dhj
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>


Best,
Yuchen

-- 
PGP Key: 47F9 D050 1E11 8879 9040  4941 2126 7E93 EF86 DFD0
          <https://ypei.org/assets/ypei-pubkey.txt>


More information about the Haskell-Cafe mailing list