TR test for racket/function
original commit: cee2509476815e57b3e1e689a677713df8077737
This commit is contained in:
parent
ee25931548
commit
529b3cdc2b
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