[racket-users] [ANN] Introducing "social" contracts

2021-08-14 Thread Siddhartha Kasivajhula
Fellow Scheming Racketeers, When you've written a function that takes an integer and returns another one, you may write a contract for it as (-> integer? integer?). I want to tell you about the social-contract package which allows you to

Re: [racket-users] Find the source location of the syntax error in DrRacket

2021-08-14 Thread Robby Findler
I'm not 100% sure but I think that's right: the marks clobber each other so that you see the inner frame and a `let`'s body is in tail position wrt to the let itself. So in this program: #lang racket/base (define (f x) (car x)) (let () (let () (+ (let () (let () (f

Re: [racket-users] Find the source location of the syntax error in DrRacket

2021-08-14 Thread Shu-Hung You
Cool! I thought the existing syntax/loc have already put the correct source location on the output of the macro, but the inner let is taking over the stack frame. On Sat, Aug 14, 2021 at 12:49 AM Sorawee Porncharoenwase wrote: > > Isn’t that a matter of putting more syntax/loc? I tried: > >