-
It looks like the macro-stepper has had some issues with the following code since version 7.6
```
#lang racket
(module untyped racket
(provide foo?)
(define (foo? x) x))
(module typed type…
-
### What version of Racket are you using?
`v8.2`
### What program did you run?
Program 1:
```
#lang typed/racket
(: m0 (MPairof String Null))
(define m0 (mcons "world" '()))
(: m1 (MPair…
-
This code:
```scheme
(for ([x (in-range a (add1 b))])
body ...)
```
Can be refactored to this:
```scheme
(for ([x (in-inclusive-range a b)])
body ...)
```
See this discussion wit…
-
Given the following program on Racket v8.6 [cs]:
```
#lang typed/racket
(require rackunit)
(for-each
(lambda (elt)
(with-check-info
(('current-element elt))
(check-pr…
-
- (exp (make-rectangular 1.7976931348623153e+308 0.0))
- http://drdr.racket-lang.org/55871/cs/racket/share/pkgs/typed-racket-test/tr-random-testing.rkt
- http://drdr.racket-lang.org/56100/cs/racket/…
samth updated
3 years ago
-
### What version of Racket are you using?
`v8.2`
### What program did you run?
```
#lang typed/racket/base
(define-type Num-LS (Listof Number))
(define-type Num-MLS (MListof Number))
(defi…
-
### What version of Racket are you using?
8.12 [cs]
### What program did you run?
```racket
#lang typed/racket
(module untyped racket/base
(define five 5)
(define six 6)
(provide (all-…
-
```
$ racket --version
Welcome to Racket v7.0.
```
```
;;; c.rkt
#lang racket
(provide (struct-out color))
(require ffi/unsafe)
(define-cstruct _color ([r _uint8]))
;;; use_c.rkt
…
-
Related to (or maybe the same as?) to #412
### What version of Racket are you using?
v8.14 [cs]
### What program did you run?
```racket
#lang typed/racket/base
(: ttest-homo (All (A) (…
-
In racket version 6.5.0.5, if I run this program:
``` racket
#lang typed/racket
(: f : (All (X) (-> X X)))
(define (f x)
(cast x Any)
x)
```
I expect it to succeed and create an identity functio…