is there a way, how to easily point
a value in Reader
context?
I can use Reader
object and ignore the context:
Reader {
_ ⇒ 3
}
Scalaz seems to have a method point
for this specifically. I see, that is defined on Applicative
. I suppose, that there is some trick, how to put a value into the Reader
context.