Re: [racket-users] Generate function defintions at compile time

2017-08-22 Thread Ryan Culpepper
On 08/22/2017 05:29 PM, hiph...@openmailbox.org wrote: Hello, I am writing a Racket library which will make it possible to control the Neovim text editor using Racket. People will be able to use Racket to control Neovim, as well as write plugins for Neovim in Racket.

Re: [racket-users] Generate function defintions at compile time

2017-08-22 Thread Philip McGrath
I guess my first question would be where does the hash table in nvim/api/specification.rkt come from, where else is it used, and is it necessary for the format to be what it currently is. For example, the first thing that jumped out at me is that you're using strings for all the hash keys rather

Re: [racket-users] Generate function defintions at compile time

2017-08-22 Thread Neil Van Dyke
hiph...@openmailbox.org wrote on 08/22/2017 05:29 PM: So far it looks good, but I am stuck on macros. There is a hash table which serves as a specification for which functions to generate, it is stored in the file 'nvim/api/specification.rkt'. This table has the key" functions" which contains

[racket-users] Generate function defintions at compile time

2017-08-22 Thread hiphish
Hello, I am writing a Racket library which will make it possible to control the Neovim text editor using Racket. People will be able to use Racket to control Neovim, as well as write plugins for Neovim in Racket. https://gitlab.com/HiPhish/neovim.rkt So far it looks good, but I am stuck on

Re: [racket-users] Re: Readers and Namespaces

2017-08-22 Thread William G Hatch
On Thu, Aug 17, 2017 at 10:11:12PM -0700, Alexis King wrote: Generally, my recommendation is to essentially define your language in two passes: a direct translation to s-expressions, followed by a phase of macroexpansion. The first phase is what your reader interacts with. Give the primitives

[racket-users] Re: How to introspect a function? (and/or other things)

2017-08-22 Thread Jack Firth
> Likewise, I haven't had much luck figuring out how to introspect structures.  > I can say (object-name strct) to get the name of the struct, but I cannot > find any way to answer the questions: > > >     - What are the names of your fields? > >     - What are the accessor / mutator

Re: [racket-users] How to introspect a function? (and/or other things)

2017-08-22 Thread George Neuner
On 8/22/2017 1:59 PM, David Storrs wrote: I've been thinking about various introspection possibilities     : What about functions?  Is there a way to answer the following questions?: - How many arguments do you require? - How many values do you return? - What is your contract?

[racket-users] Re: [racket] thread size and creation time

2017-08-22 Thread Piyush Katariya
I am wondering if this still the case with Racket 6.10 ? -- 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 racket-users+unsubscr...@googlegroups.com. For more

Re: [racket-users] Requiring module beneath top level?

2017-08-22 Thread hiphish
> On Fri, Aug 18, 2017 at 7:08 PM, wrote: > I think you want `dynamic-require`: > [http://docs.racket-lang.org/reference/Module_Names_and_Loading.html?q=dynamic-require#%28def._%28%28quote._~23~25kernel%29._dynamic-require%29%29] Thank you, that's what I needed. I'll

Re: [racket-users] European Racketeers and conferences

2017-08-22 Thread Alexander Shopov
Hmm, what about the Netherlands? Anyone willing to meet? @Daniel Brunner: Are you in Wetzlar? Anyone else around hereabouts? Kind regards: al_shopov На вт, 22.08.2017 г. в 18:23 Laurent написа: > That would be great! I'm also more or less based in London and may be

[racket-users] How to introspect a function? (and/or other things)

2017-08-22 Thread David Storrs
I've been thinking about various introspection possibilities lately, partially because I've encountered places where they'd be useful and partially because it's interesting. I found module->exports and module->imports which will let me introspect a module to see what it provides and consumes.

Re: [racket-users] European Racketeers and conferences

2017-08-22 Thread Matthias Felleisen
Matthew F, Robby, and I will be in Oxford for ICFP starting late next week. None of us thought of this before but I am sure we could at least arrange for some dinner or afternoon get-together. — Matthias > On Aug 22, 2017, at 10:44 AM, Tim Jervis wrote: > > Hi

Re: [racket-users] European Racketeers and conferences

2017-08-22 Thread Tim Jervis
Hi Matthew, I’m based in London and would be interested in a get-together. Kind regards, Tim > On 22 Aug 2017, at 15:20, Daniel Brunner wrote: > > Hey Matthew, > > I live in Germany and use Racket for teaching students, teaching our > apprentices (dual education system

Re: [racket-users] Re: Need help with parallelizing a procedure

2017-08-22 Thread George Neuner
On 8/22/2017 6:08 AM, Zelphir Kaltstahl wrote: Will "The Seasoned Schemer" be understandable for people who did not read the "The Little Schemer"? And is what is in there directly applicable in Racket (I guess it is, because of Racket's background, but I better ask beforehand!) Yes, and

Re: [racket-users] European Racketeers and conferences

2017-08-22 Thread Daniel Brunner
Hey Matthew, I live in Germany and use Racket for teaching students, teaching our apprentices (dual education system in Germany) and use it "in production" for some tasks. Best wishes, Daniel Am 22.08.2017 um 15:15 schrieb Matthew Eric Bassett: > Hi all, > > Gutted I can't make it to RacketCon

[racket-users] European Racketeers and conferences

2017-08-22 Thread Matthew Eric Bassett
Hi all, Gutted I can't make it to RacketCon this year. Really glad to see it growing. Question for y'all - how many Racketeers are active on this side of the Atlantic? Enough for a specific get-together over here? Or are there already appropriate venues for that that I'm unaware of (I am

[racket-users] Re: Need help with parallelizing a procedure

2017-08-22 Thread Zelphir Kaltstahl
Will "The Seasoned Schemer" be understandable for people who did not read the "The Little Schemer"? And is what is in there directly applicable in Racket (I guess it is, because of Racket's background, but I better ask beforehand!) So far I've read some part of SICP (Chapter 1 & 2), part of