package shexp

  1. Overview
  2. Docs

Module Process.PrimSource

Sourcetype ('a, 'b) t = ('a, 'b) Prim.t

Description of a primitive

Sourcemodule Args : sig ... end
Sourceval sexp_of_call : ('a, 'b) t -> ('a, 'b) Args.t -> Shexp_sexp.Std.Sexp.t

Return an s-expression representation of a primitive call

Sourceval sexp_of_result : ('a, 'b) t -> 'b -> Shexp_sexp.Std.Sexp.t option

Returns None if the result is Unit or Env

OCaml

Innovation. Community. Security.