
* Another big chunk of v4-require-isms * Allow `#lang framework/keybinding-lang' for keybinding files * Move hierlist sources into "mrlib/hierlist", leave stub behind svn: r10689
17 lines
377 B
Scheme
17 lines
377 B
Scheme
(module graphics-unit mzscheme
|
|
(require mzlib/unit
|
|
mred/mred-sig
|
|
"graphics-sig.ss"
|
|
"graphics-posn-less-unit.ss")
|
|
(provide graphics@)
|
|
|
|
(define-unit p@
|
|
(import)
|
|
(export graphics:posn^)
|
|
(define-struct posn (x y)))
|
|
|
|
(define-compound-unit/infer graphics@
|
|
(import mred^)
|
|
(export graphics:posn^ graphics^)
|
|
(link p@ graphics-posn-less@)))
|