Changed TR test to use struct with struct info instead of HTDP struct.

original commit: b25ee81d790ac3d8388cbe80bb708b6b5841d83f
This commit is contained in:
Eric Dobson 2011-07-02 14:54:08 -04:00 committed by Vincent St-Amour
parent 9e1e05efad
commit 9830474a58

View File

@ -1,3 +1,11 @@
#lang typed-scheme
(require-typed-struct posn ([x : Number] [y : Number]) #:extra-constructor-name make-posn lang/posn)
(provide (struct-out posn))
#lang racket/load
(module untyped racket/base
(struct posn (x y))
(provide (struct-out posn)))
(module typed typed/racket/base
(require-typed-struct posn ((x : Real) (y : Real)) 'untyped)
(provide (struct-out posn)))
(require 'typed)