Skip to content

Adding a "catchU" function? #11

@johnridesabike

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.

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