Open
Description
Hi, there is an exercise to implement the
embedded :: MaybeT (ExceptT String (ReaderT () IO)) Int
embedded = ??? (const (Right (Just 1)))
My solution is:
embedded :: MaybeT (ExceptT String (ReaderT () IO)) Int
embedded = MaybeT $ ExceptT $ ReaderT $ ExceptT (const (Right (Just 1)))
Haven't found it in your solutions, so maybe it will be helpful for someone:)
Metadata
Metadata
Assignees
Labels
No labels