[Haskell-beginners] basic State Monad

MJ Williams matthewjwilliams101 at gmail.com
Sun Dec 13 21:36:45 UTC 2015


Perhaps you would be so kind as to provide the `motivation',
`explanation' and maybe some `commentary' for good measure. *smile*


On 13/12/2015, Imants Cekusins <imantc at gmail.com> wrote:
>> I don't think that code snippets presented without motivation,
> explanation, or commentary are an effective way to teach.
>
> I agree, they are not.
>
> However it took me a better part of today  to write this snippet.
>
> If I saw it as it is, I could proceed with my coding task without delay.
>
> I posted it just in case someone faces a similar problem and could benefit
> from it.
>
> This is to complement other available materials, not to replace them.
>


More information about the Beginners mailing list