package eio

  1. Overview
  2. Docs
Effect-based direct-style IO API for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

eio-0.9.tbz
sha256=cfbdf92e480063333f9c6ab234ee46aceeadb3209744c801cdf8a274b1997d99
sha512=410e334103a9ae9805c57ad12ca9726b0b74b82cca4477004521ccfcc7ddb0f63ec6f38fdd69728792d3dff1ab3f8ad990cd6b02b45f467cf492e2840941c669

doc/src/eio.mock/eio_mock.ml.html

Source file eio_mock.ml

1
2
3
4
5
6
7
8
9
10
11
12
module Action = Action
module Handler = Handler
module Flow = Flow
module Net = Net
module Clock = Clock
module Backend = Backend

type Eio.Exn.Backend.t += Simulated_failure
let () = Eio.Exn.Backend.register_pp (fun f -> function
    | Simulated_failure -> Fmt.string f "Simulated_failure"; true
    | _ -> false
  )
OCaml

Innovation. Community. Security.