Skip to content

Add error effect? #34

@oberblastmeister

Description

@oberblastmeister

It should have this signature

module type S = sig
  type error

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

Metadata

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