by emidln · 9y ago · 0 comments
It seems like it'd be easy to define a typedracket-derived #lang where you had to write:
(define (sum a b) : [-> Integer Integer Integer]
(where (= (sum 0 1) 1)
(= (sum 2 2) 4))
(+ a b))
And make the type signature and where clause non-optional with at least a single test.[1] I, personally, love parenthetical syntax.