typed-racket/typed-racket-test/fail/with-type2.rkt
2014-12-16 10:07:25 -05:00

12 lines
181 B
Racket

#;
(exn-pred exn:fail:contract?)
#lang scheme
(require typed/scheme)
(let ([x 'hello])
(with-type
#:result String
#:freevars ([x String])
(string-append x ", world")))