The lang/plt-pretty-big-text module is similar to the HtDP Advanced Student language, but with more of PLT Scheme’s libraries. It provides the bindings of mzscheme, mzlib/etc, mzlib/file, mzlib/list, mzlib/class, mzlib/unit, mzlib/include, mzlib/defmacro, mzlib/pretty, mzlib/string, mzlib/thread, mzlib/math, mzlib/match, mzlib/shared, and lang/posn.
8 posns in HtDP Languages
x : any/c
y : any/c
The posn structure type that is also provided by lang/htdp-beginner.
The image-comparison operator that is also provided by lang/htdp-beginner.
The lang/prim module several syntactic forms for use by the implementors of teachpacks, when the teachpack is to be used with the How to Design Programs Beginner Student languages. In Beginner Student, primitive names (for built-in procedures) are distinguished from other types of expressions, so that they can be syntactically restricted to application positions.
(define-primitive id proc-id)
Defines id to be a primitive operator whose implementation is proc-id, and that takes no procedures as arguments. Normally, id is exported from the teachpack and proc-id is not.
(provide-primitives id )
Multiple-identifier version of provide-primitive.
(define-higher-order-primitive id proc-id (arg ))
Defines id to be a primitive operator whose implementation is proc-id. Normally, id is exported from the teachpack and proc-id is not.
For each non-procedure argument, the corresponding arg should be an underscore. For each procedure argument, the corresponding arg should be the usual name of the procedure.
(define-higher-order-primitive convert-gui convert-gui/proc (f2c))
(provide-higher-order-primitive id (arg ))