You can search for identifiers within the package.
in-package search v0.2.0
tiny_languages.scheme
Scheme
type t =
| Int of int
| Real of float
| Bool of bool
| Char of int
| Str of string
| Sym of string
| Nil
| Pair of t * t
| Vector of t array
| Struct of string * t list
| Image of Scheme_image.t
| Proc of proc
| Void
and proc =
| Prim of string
| Closure of lambda * env
| Cont of kont
| Make of string * int
| Get of string * int * string
| Is of string
and loc = int
and env = (string * loc) list
and expr = {
desc : desc;
span : Sexpr.span;
}
and desc =
| Quote of t
| Var of string
| Lambda of lambda
| If of expr * expr * expr
| Set of string * expr
| App of expr * expr list
| Seq of expr list
| Define of string * expr
| Define_struct of string * string list
| Big_bang of expr * (string * expr) list
and lambda = {
params : string list;
rest : string option;
locals : string list;
body : expr list;
name : string;
and kont =
| Halt
| K_if of expr * expr * env * kont
| K_app of t list * expr list * env * Sexpr.span * kont
| K_set of loc * kont
| K_seq of expr list * env * kont
| K_define of string * kont
| K_big_bang of t list * (string * expr) list * string list * env * Sexpr.span * kont
type style =
| Write
| Constructor
val print : style -> t -> string
val display : t -> string
val list : t list -> t
val to_list : t -> t list option
val truthy : t -> bool
val equal : t -> t -> bool
val kind : t -> string