Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ch26 OuterInner #8

Open
Bassov opened this issue Oct 30, 2017 · 1 comment
Open

ch26 OuterInner #8

Bassov opened this issue Oct 30, 2017 · 1 comment

Comments

@Bassov
Copy link

Bassov commented Oct 30, 2017

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:)

@dmvianna
Copy link
Owner

dmvianna commented Oct 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants