[plt-scheme] examining structures, data definitions (ch6 HtDp)

From: Terrence Brannon (metaperl at urth.org)
Date: Tue Feb 10 03:38:03 EST 2004

I just finished the chapter on compound data and have a few questions:

(1) how can I examine a structure's components, ie:

scheme> (inspect posn)
DOCS: a structure designed to hold cartesian coordinates


(2) the chapter said that data definitions were a mix of Scheme and 
English. Is there no way to create typed structures that require 
arguments of a certain type?

Posted on the users mailing list.