Next: , Previous: , Up: fasl   [Index]


G.2 FASL files API

The following bindings are exported by the library (vicare).

Function: fasl-write obj port
Function: fasl-write obj port libraries

Serialise obj to the binary output port port prefixing it with the FASL file header. If libraries is present: it must be a list of strings representing foreign shared libraries to be loaded whenever the FASL file is loaded, fasl foreign for details.

Function: fasl-read port

Read and return a serialised object from the binary input port.