Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#lang racket
(define (no-arg) (void))
(define (two-args a b) (void)) ;arguments are always named
(define (varargs . args) (void)) ;the extra arguments are stored in a list
(define (varargs2 a . args) (void)) ;one obligatory argument and the rest are contained in the list
(define (optional-arg (a 5)) (void)) ;a defaults to 5

View file

@ -0,0 +1,2 @@
(provide (contract-out
[two-args (integer? integer? . -> . any)]))

View file

@ -0,0 +1,4 @@
#lang typed/racket
(: two-args (Integer Integer -> Any))
(define (two-args a b) (void))