package guile

  1. Overview
  2. Docs
Bindings to GNU Guile Scheme for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.tar.gz
md5=be5a3dae4018b36103f0af9f769a26f0
sha512=74136c9f933aea8d0403d5f5826cf7acb8824c985639d5a79eb2a7247c1bd1362eb61fd946f148e25e7b0283af2e36435c3d3ffe5f7e7913e27b70d941e97c09

doc/guile.guile/Guile/Error/index.html

Module Guile.ErrorSource

Sourceval error : ?key:scm -> ?fn_name:string -> string -> scm

error ?key ?fn_name msg throws a Guile scheme error with tag key (defaults to the symbol ocaml-guile) with message msg, originating while executing fn_name.

Returns a dummy Guile scheme value as it does not return.

Sourceval catch : tag:scm -> (unit -> unit) -> (scm -> scm -> unit) -> unit

catch ~tag f handler runs f while catching any exceptions of with tag tag. If an exception is caught, the handler handler is called as handler key args.

OCaml

Innovation. Community. Security.