package picos_aux

  1. Overview
  2. Docs
Auxiliary libraries for Picos

Install

dune-project
 Dependency

Authors

Maintainers

Sources

picos-0.6.0.tbz
sha256=3f5a08199cf65c2dae2f7d68f3877178f1da8eabf5376e15114e5a8958087dfa
sha512=ad24910c47ce614268c4268874bb918da7f8b5f03b3ad706bbf30323635262e94ddab6be24eaebbca706bfa82c0a517d4272b396459e020c185942125c9bdb7b

doc/picos_aux.rc/Picos_aux_rc/Make/argument-1-Resource/index.html

Parameter Make.Resource

A resource that must be explicitly disposed.

type t

Represents a disposable resource.

val equal : t -> t -> bool

equal resource1 resource2 determines whether resource1 and resource2 are one and the same.

val hash : t -> int

hash resource computes the hash value for resource.

val dispose : t -> unit

dispose resource releases the resource.

⚠️ The physical resource value may be reused only after dispose has been called on it.

OCaml

Innovation. Community. Security.