Skip to content

Add error effect? #34

Open
Open
@oberblastmeister

Description

It should have this signature

module type S = sig
  type error

  val throw : error -> 'a
  val catch : (unit -> 'a) -> ('a, error) result
end

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions