Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see code of Monad Reader?

I am a beginner in Haskell, and I want to understand Reader Monad. I know how to use this monad. But I want to see the implementation of monad (particularly code of function "return"). How can I see this code?

like image 1000
LmTinyToon Avatar asked Dec 06 '25 16:12

LmTinyToon


1 Answers

Answered in the comments by pdexter:

The definition is here but I would recommend reading the simplified version here.

like image 88
Will Ness Avatar answered Dec 10 '25 14:12

Will Ness



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!