Add examples of each.
original commit: bcb205a9303bdda29c94f5239e919ceef90145bb
This commit is contained in:
parent
2afa0ac8f1
commit
e3734750db
9
collects/tests/typed-scheme/succeed/dot-intro.ss
Normal file
9
collects/tests/typed-scheme/succeed/dot-intro.ss
Normal file
|
@ -0,0 +1,9 @@
|
|||
#lang typed-scheme
|
||||
|
||||
(define x
|
||||
(plambda: (a ...) ([x : Number] . [y : Number ... a])
|
||||
(ormap zero? (map add1 y))))
|
||||
|
||||
(define y
|
||||
(plambda: (a ...) ([x : Number] . [y : a ... a])
|
||||
(ormap null? (map list y))))
|
Loading…
Reference in New Issue
Block a user