TR test for racket/function
This commit is contained in:
parent
05a5c16231
commit
cee2509476
10
collects/tests/typed-scheme/succeed/function.rkt
Normal file
10
collects/tests/typed-scheme/succeed/function.rkt
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang typed/racket
|
||||
|
||||
;; Test imports from racket/function
|
||||
|
||||
(identity 5)
|
||||
(identity (lambda (x) "test"))
|
||||
|
||||
((const 'foo) 1 2 3)
|
||||
|
||||
((curry (lambda (x y) (cons x y)) 5) '())
|
Loading…
Reference in New Issue
Block a user