Tests for all Typed Racket languages, and add missing ones.
This commit is contained in:
parent
437fc45ce4
commit
c0b4743b40
|
@ -0,0 +1,7 @@
|
|||
#lang typed/racket/base
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 x))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/racket/base/no-check
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 ""))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/scheme/base/no-check
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 ""))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/scheme/no-check
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 ""))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed-scheme/no-check
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 ""))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/racket/no-check
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 ""))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/scheme/base
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 x))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/scheme
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 x))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed-scheme
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 x))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#lang typed/racket
|
||||
|
||||
(: f (Integer -> Any))
|
||||
(define (f x) (add1 x))
|
||||
|
||||
(lambda (#{x : String}) (string-append " " x))
|
||||
|
4
collects/typed/scheme/base/no-check.rkt
Normal file
4
collects/typed/scheme/base/no-check.rkt
Normal file
|
@ -0,0 +1,4 @@
|
|||
#lang typed-racket/minimal
|
||||
|
||||
(require racket/require typed-scheme/no-check (subtract-in typed/scheme/base typed-scheme/no-check))
|
||||
(provide (all-from-out typed/scheme/base typed-scheme/no-check))
|
8
collects/typed/scheme/base/no-check/lang/reader.rkt
Normal file
8
collects/typed/scheme/base/no-check/lang/reader.rkt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang s-exp syntax/module-reader
|
||||
|
||||
typed/scheme/base/no-check
|
||||
|
||||
#:read r:read
|
||||
#:read-syntax r:read-syntax
|
||||
|
||||
(require (prefix-in r: typed-racket/typed-reader))
|
4
collects/typed/scheme/no-check.rkt
Normal file
4
collects/typed/scheme/no-check.rkt
Normal file
|
@ -0,0 +1,4 @@
|
|||
#lang typed-racket/minimal
|
||||
|
||||
(require racket/require typed-scheme/no-check (subtract-in typed/scheme typed-scheme/no-check))
|
||||
(provide (all-from-out typed/scheme typed-scheme/no-check))
|
8
collects/typed/scheme/no-check/lang/reader.rkt
Normal file
8
collects/typed/scheme/no-check/lang/reader.rkt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang s-exp syntax/module-reader
|
||||
|
||||
typed/scheme/no-check
|
||||
|
||||
#:read r:read
|
||||
#:read-syntax r:read-syntax
|
||||
|
||||
(require (prefix-in r: typed-racket/typed-reader))
|
Loading…
Reference in New Issue
Block a user