-
-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
Consider this BSL program:
(: foo (Integer -> Integer))
(define (foo n)
(+ n 1))
(: bar (Integer -> Integer))
(define (bar n)
n)
(bar "bar")Running it in the menu-based "Beginning student" language gives line number info for the signature violation. Not so #lang htdp/bsl.
The reason is this code in the menu-based languages:
htdp/htdp-lib/lang/htdp-langs.rkt
Line 907 in 7877cc2
| (define (with-mark source-stx expr phase) |
(I don't know how to do the same for #lang.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels