Re: [racket] how to get line numbers on syntax errors on load?

2015-03-09 Thread Thomas Lynch
It is scary to run regression on over ten thousand lines of code and then racket spits out error messages but does not give source file location information, as above. So if anyone has an answer for this I would like to hear it. FYI, in this particular case, test-hook was defined lower in the

[racket] how to get line numbers on syntax errors on load?

2015-03-09 Thread Thomas Lynch
When loading modules I sometimes get syntax errors - rightfully so. However, the errors sometimes don't have line numbers, making them time consuming to find. Here is one today: Welcome to Racket v5.2.1. racket@> (enter! "ap.rkt") link: reference (phase 0) to a variable in module "basic-lib.rkt"

Re: [racket] Crowdsourcing Pict3D's design

2015-03-09 Thread Neil Toronto
Sure! You could assemble it yourself out of triangles and quads. :) OK, maybe that's not "good". It's a fun problem, though, so I gave it a shot. I've attached my solution. The `parametric-cylinder` function accepts a function that takes a "time" parameter `t` and returns four values: the cent

Re: [racket] Unexpected results with impersonators and make-keyword-procedure

2015-03-09 Thread Matthew Flatt
Oops... I'll push a repair soon. Thanks! At Mon, 9 Mar 2015 16:58:41 -0400, Scott Moore wrote: > Hi Matthew, > > Thanks for working on this so quickly! Unfortunately, It looks like there is > a > bug in the fix that causes segfaults when checking impersonator properties on > keyword procedure

Re: [racket] Crowdsourcing Pict3D's design

2015-03-09 Thread J Arcane
I'm really curious about this. I've never touched 3D, partly because most 3D frameworks/libraries are hardcore C/C++. A 3d big-bang gives me happy thoughts. On Mon, Mar 9, 2015 at 9:37 PM, Alexander D. Knauth wrote: > Is there a good way to draw a smooth curved cylinder? > > On Mar 8, 2015, at

Re: [racket] Unexpected results with impersonators and make-keyword-procedure

2015-03-09 Thread Scott Moore
Hi Matthew, Thanks for working on this so quickly! Unfortunately, It looks like there is a bug in the fix that causes segfaults when checking impersonator properties on keyword procedures that are not impersonators. I’ve included a small test case below. Thanks again, Scott #lang racket (def

Re: [racket] Crowdsourcing Pict3D's design

2015-03-09 Thread Alexander D. Knauth
Is there a good way to draw a smooth curved cylinder? On Mar 8, 2015, at 10:53 PM, Neil Toronto wrote: > Pict3D is finally ready for public consumption. You can install the package > either in DrRacket using "File -> Install Package..." or from the command > line using > >raco pkg install

Re: [racket] DrRacket init file on WIndows 8

2015-03-09 Thread Jong-won Choi
Thanks, Gustavo That is inconvenient :( Is it possible to do incremental saving DrRacket image with my own extension? Or are there easy ways to make DrRacket 'executable' again with my own extension? Thanks! - Jong-won On 09/03/15 07:34, Gustavo Massaccesi wrote: The file racketrc.rktl