signatures broke a while back and nobody uses then in *SL
This commit is contained in:
parent
ac93668a20
commit
1bf4bf1872
|
@ -52,9 +52,13 @@
|
||||||
(t #rx"Advanced Student$"
|
(t #rx"Advanced Student$"
|
||||||
#<<--
|
#<<--
|
||||||
(define-struct foo (x))
|
(define-struct foo (x))
|
||||||
|
;; ----------------------------------------------------
|
||||||
(: make-foo (Number -> foo))
|
;; MF: something broke about signatures
|
||||||
(: foo-x (foo -> Number))
|
;; Shriram said at Dagstuhl that he doesn't use them,
|
||||||
|
;; and I don't know of anyone else who uses them in *SL
|
||||||
|
;; ----------------------------------------------------
|
||||||
|
;; (: make-foo (Number -> foo))
|
||||||
|
;; (: foo-x (foo -> Number))
|
||||||
|
|
||||||
(define x (make-foo 5))
|
(define x (make-foo 5))
|
||||||
(foo-x x)
|
(foo-x x)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user