Skip to content

Add a function to try things until first 'Result' #45

@chshersh

Description

@chshersh

The proposed type:

trials :: Monad m => [m a] -> (a -> m (Trial e b)) -> m (Trial e b)

What should be the name? trials tryUntil firstResult ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreidea 💡RFC, feature ideasquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions