Re: [racket-users] try a new macro expander

2015-06-29 Thread Matthew Flatt
Thanks! I've pushed repairs for these problems, mreged recent changes from the main development branches, and updated the snapshot here: http://www.cs.utah.edu/~mflatt/tmp/scope-snapshot/ At Thu, 25 Jun 2015 13:56:04 -0400, Alexander D. Knauth wrote: Another weird error: #lang racket/base

[racket-users] generalised set! in Racket

2015-06-29 Thread Alexey Cherkaev
Hi all, Common Lisp has a very useful idiom of SETF that can set values to arbitrary places. For example, one can set (1 2)-th item of an array A as: (SETF (AREF A 1 2) 20.0d0) Scheme preferred way is to use `*-set!` procedures. However, sometimes it is inconvenient. For example, if I want to

[racket-users] overlapping fields in windows, DrRacket user interface (preferences, choose language)

2015-06-29 Thread Sanjeev Sharma
windows 7; it's most obvious in preferences - warnings also choose language - details I can ivoke and reverse it from this screen: Control Panel\Appearance and Personalization\Display - make text and other items larger or smaller - medium -- You received this message because you are

Re: [racket-users] Naming conventions

2015-06-29 Thread Philip Blair
Perhaps, I'm wrong, but I don't believe there's an *explicit* convention; however, as far as I've seen, it typically is used for function variants (more specifically, I *usually* see it used to distinguish multiple functions which do more or less the same thing with different input forms).

Re: [racket-users] Naming conventions

2015-06-29 Thread Norman Gray
Greetings. On 2015 Jun 29, at 16:05, Philip Blair peblair...@gmail.com wrote: Perhaps, I'm wrong, but I don't believe there's an *explicit* convention; however, as far as I've seen, it typically is used for function variants (more specifically, I *usually* see it used to distinguish

Re: [racket-users] Using ‘except-in’ to exclude identifiers for a single phase level

2015-06-29 Thread Matthew Flatt
You're right that there's not a form that's like `except-out` but constrained both by name and phase. There's also not an export variant of `only-meta-in`, which would get your half-way there. You could implement a new provide expander to do that. Otherwise, in addition to the strategy that you

[racket-users] Naming conventions

2015-06-29 Thread John Carmack
Is there an explicit strategy for the use of / in function names, overlay/xy, scale/xy and so on? -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [racket-users] Using ‘except-in’ to exclude identifiers for a single phase level

2015-06-29 Thread Alexis King
Thanks for your help. I did consider the only-meta-in approach, but then I’d be excluding the syntax-rules export as well, which I was trying to avoid if possible. On Jun 29, 2015, at 7:39 AM, Matthew Flatt mfl...@cs.utah.edu wrote: You're right that there's not a form that's like

Re: [racket-users] try a new macro expander

2015-06-29 Thread Greg Hendershott
Oops, didn't Cc list: On Mon, Jun 29, 2015 at 12:13 PM, Greg Hendershott greghendersh...@gmail.com wrote: On Mon, Jun 29, 2015 at 7:43 AM, Matthew Flatt mfl...@cs.utah.edu wrote: I'll have to update the version number, so there's now a racket-current-x86_64-linux.sh installer link.

Re: [racket-users] generalised set! in Racket

2015-06-29 Thread Alexander D . Knauth
On Jun 29, 2015, at 5:56 AM, Alexey Cherkaev alexey.cherk...@gmail.com wrote: For example, I was thinking of defining syntax to access my implementation of multidimensional arrays as (define-syntax aref (syntax-rules (set!) [(set! (aref ?a ?i ...) ?v) (array-set! ?a ?i ... ?v)]