trivial/test/function-pass.rkt
2016-03-04 18:17:09 -05:00

16 lines
226 B
Racket

#lang typed/racket/base
(module+ test
(require
trivial/function
typed/rackunit)
(check-equal?
(((curry: (lambda (x y) x)) 'x) 'y)
'x)
(check-equal?
((((curry: (lambda (x y z) z)) 0) 1) 2)
2)
)