Skip to content

ch26 OuterInner #8

Open
Open
@Bassov

Description

@Bassov

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions