Procedures exported from the (ironscheme) library, beyond those provided in the R6RS specification.

(compile filename)
Compiles a toplevel program's dependent libraries.

(compile->closure filename)
Compiles a toplevel program to a thunk.

(load filename)
Load a R6RS top level program and executes it.

(load/args filename arg ...)
Load a R6RS top level program with the specified command line arguments and executes it.

(enum-set? obj)
Returns #t if the object is an enum-set, else #f.

(environment-bindings env)
Returns a list a pairs of the symbols and their type exported from the specified environment.

(environment-symbols env)
Returns a list of symbols exported from the specified environment.

(interaction-environment-symbols)
Returns a list of symbols currently defined in the interaction environment.

(gensym)
(gensym sym)
Generates a unique symbol name.

(ungensym sym)
Attempts to strip unique information from a gensym created symbol.

(format fmt arg ...)
Provides string formatting.

(fprintf port fmt arg ...)
Provides string formatting.

(printf fmt arg ...)
Provides string formatting.

(gc-collect)
Forces a GC collection.

(clr-type? obj)
Returns #t is the object is a CLR type object, else #f.

(get-clr-type typename typearg ...)
Constructs a CLR type with the specified name and optional type arguments.

(compile-system-libraries)
Compiles commonly used libraries.

(ironscheme-build)
Builds the IronScheme bootfile.

(last-pair list)
Returns the last pair of a list.

(make-list size)
(make-list size fill)
Makes a list of a specified size and content.

(license)
Prints the IronScheme license to the current output port.

(make-guid)
Makes a GUID object.

(make-parameter value)
(make-parameter value fender)
Creates a parameter. See SRFI 8?

(optimization-level)
(optimization-level level)
Gets or sets the current optimization level. Accepts 'none , 'safe or 'unchecked .
Note: This procedure is obsolete.

(procedure-arity proc)
Returns multiple values for the procedure arities.

(procedure-environment proc)
Does nothing currently.

(procedure-form proc)
Returns multiple values for the procedure signature.

(procedure-name proc)
Returns the name of a procedure.

(serialize-port obj port)
Uses the .NET binary serializer to serialize an object to a port.
Note: procedures (including closures) and continuations cannot be serialized currently.

(deserialize-port port)
Uses the .NET binary serializer to deserialize a port to an object.

(stacktrace)
Prints the stacktrace of the last exception.
Note: This procedure is obsolete.

(string-ci-compare str1 str2)
Used for comparing case-insensitive strings.

(string-compare str1 str2)
Used for comparing case-sensitive strings.

(string-format fmt arg ...)
Same as string.Format(format, args).

(symbol-value sym)
Gets the value bound to a toplevel symbol.

(set-symbol-value! sym value)
Sets a toplevel symbol value to specified value.

(cosh real)
Math.Cosh

(sinh real)
Math.Sinh

(tanh real)
Math.Tanh

(time-it thunk)
Times a thunk, and prints the statistics, and returns the result.

(trace-printer)
(trace-printer printer)
Gets or sets the current printer used for tracing (eg write or pretty-print).

(vector-append vec1 vec2 vec ...)
Appends 2 or more vectors.

(vector-binary-search vector obj)
Returns the index of a binary search for an object (.NET dependent).

(vector-contains? vector obj)
Returns #t if the vector contains the specified object (based on eqv?).

(vector-copy vector)
Makes a copy of the specified vector.

(vector-filter vector proc)
Analogous to filter.

(vector-index-of vector obj)
Returns the index of the specified object if found (based on eqv?).

(vector-reverse! vector)
Destructively reverses a vector.

(void)
Returns an unspecified object.

(unspecified? obj)
Tests for void.

Last edited Jan 28, 2011 at 4:55 AM by leppie, version 3