package hermetic

Build not yet checked
  1. Overview
  2. No Docs
Enforce Eio's capabilities at compile time

Install

dune-project
 Dependency

Authors

Maintainers

Sources

hermetic-0.1.0.tbz
sha256=3e4bcc748aaf1b4119d3f48301007e85aad489fe59952eba25f2cf915897c352
sha512=4eb66393268005675e511a3894d4ab11d39a979b48a0a90bc7b5d9d811226d9f155fb18bbd8cc2e25201e8ba0b0af5a227c161ddcfb701b229de7c764679f38f

Description

Hermetic is a prelude that restates OCaml's standard library. In a file that opens it, a standard library, Unix or Thread value that reaches the file system, a clock, the network, the standard streams, entropy, a domain or a child process on its own is a type error. This covers Sys too, so Sys.remove and Sys.command are refused. Its alert names the Eio.Stdenv capability to take instead. The unsafe operations that could forge a capability, such as Obj.magic or a Marshal reader, are refused too.

Tags

stdlib prelude capability eio

Added to opam-repository:

Dependencies (2)

  1. ocaml >= "4.14" & < "5.6"
  2. dune >= "3.21"

Dev Dependencies (4)

  1. odoc with-doc
  2. ocamlfind with-test
  3. mdx with-test & >= "2.3.0"
  4. alcotest with-test & >= "1.7.0"

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

This version of hermetic was published after the check.ci.ocaml.org run of against opam-repository 8a77e58, so it has no build results yet. check.ci runs about once a week.