Skip to content

Adding a "catchU" function? #11

Description

@johnridesabike

Since catch can't take advantage of the @uncurry annotation, would it make sense to include an uncurried version?

let catchU: (t<'a>, (. exn) => t<'a>) => t<'a>

I doubt performance is a concern when catching exceptions, but it may still be nice for users concerned with JS bundle size or readability.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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