I should get Maybe UserId
from maybeAuth
I am going to do it this way:
... = do
muserId <- (entityKey <$>) <$> maybeAuth
...
So, I am looking to map Functor
inside another Functor
. I heard about Functor composition, is it my case?
Can I improve it using Functor Composition or something else?