chickadee » srfi-38

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

srfi-38

Description

A Chicken version of the reference implementation for SRFI-38, a facility for reading and writing objects with shared structure.

Author

Alex Shinn

Documentation

See SRFI-38 document.

This implementation extends write-with-shared-structure to accept the optional keyword parameter #:ignore-strings, which is true will treat strings as normal (nonshared) objects even if repeated.

The utility `make-repl-support-shared-structure' is also provided to support printing results at the REPL with shared structure.

Changelog

License

This code was written by Alex Shinn in 2009 and placed in the Public Domain. All warranties are disclaimed.