[sledge] Document sequence and record term constructors

Reviewed By: jvillard

Differential Revision: D24549074

fbshipit-source-id: 6d1baafe1
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 9cd5b02171
commit 889f4cb666

@ -35,15 +35,29 @@ module rec Term : sig
(* sequences (of flexible size) *) (* sequences (of flexible size) *)
val splat : t -> t val splat : t -> t
(** Iterated concatenation of a single byte *)
val sized : seq:t -> siz:t -> t val sized : seq:t -> siz:t -> t
(** Size-tagged sequence *)
val extract : seq:t -> off:t -> len:t -> t val extract : seq:t -> off:t -> len:t -> t
(** Extract a slice of a sequence *)
val concat : t array -> t val concat : t array -> t
(** Concatenation of sequences *)
(* records (with fixed indices) *) (* records (with fixed indices) *)
val select : rcd:t -> idx:int -> t val select : rcd:t -> idx:int -> t
(** Select an index from a record *)
val update : rcd:t -> idx:int -> elt:t -> t val update : rcd:t -> idx:int -> elt:t -> t
(** Record updated with element at index *)
val record : t array -> t val record : t array -> t
(** Record constant *)
val ancestor : int -> t val ancestor : int -> t
(** Reference to ancestor recursive record *)
(* uninterpreted *) (* uninterpreted *)
val apply : Funsym.t -> t array -> t val apply : Funsym.t -> t array -> t

Loading…
Cancel
Save