Units.HostBuilt-in capability units. Initializing this module installs the core evaluator's dispatcher for printing, file reads, strings, and loading.
val sys_typ : Sce_core.Ast.typInterface of Sys: print and readfile.
val str_typ : Sce_core.Ast.typInterface of Str: head and tail, operating on bytes.
val sys : Artifact.tImport-free unit exporting the Sys capability record.
val str : Artifact.tImport-free unit exporting the Str capability record.
Output sink for Sys.print, initially print_string. Each call receives the supplied string followed by a newline.
val loader : Artifact.t list -> Artifact.tConstruct a loader from the first Loader import in the supplied units. Its interface must be exactly {load : String -> (T | {err : String})}. Loading accepts an artifact only when its slot type equals T, then evaluates it. Recognized artifact errors become the err alternative; malformed serialized data and evaluation failures may still raise exceptions.