[racket] disappeared-use syntax property

2013-05-28 Thread Eric Dobson
Is it 'wrong' to add a disappeared-use property onto a syntax object even if the use wasn't actually disappeared? Its not very obvious what semantics these syntax properties are supposed to have. The situation I'm in is that the code that determines examines the bindings is somewhat separate from

Re: [racket] The Racket FFI is killing me, I am going insane

2013-05-28 Thread Laurent
(mailing list in CC, for the reasons Danny mentioned) Searching PLaneT [1], I've just found Dave Herman's package which may be of interest to you: http://planet.racket-lang.org/display.ss?package=c.plt&owner=dherman Never tried it, not sure it's what you want, but should be worth trying. If you d

Re: [racket] Redex hackfest

2013-05-28 Thread Alex Marquez
For the benefit of the wider list, I am copying Robby's feedback below, as taken from the private list. Here's the list, interspersed with my comments. • multi-hole evaluation contexts • being able to write up the pi-calculus in a natural way, with multi-hole contexts acti

Re: [racket] link errors on 64bit

2013-05-28 Thread Matthew Flatt
At Tue, 28 May 2013 14:28:04 +0100, David Griffiths wrote: > Hi Matthew, > > On 24/05/13 23:54, David Griffiths wrote: > > On 24/05/13 18:44, Matthew Flatt wrote: > >> At Thu, 23 May 2013 14:43:18 +0100, David Griffiths wrote: > >>> I've been getting a problem for some time building against the ra

Re: [racket] Documentation translation

2013-05-28 Thread Cosme Enmanuel Zamudio Salazar
A version of HtDP in spanish? that would be a good place to start. Cosme. On Tue, May 28, 2013 at 6:37 PM, Matthias Felleisen wrote: > > Have you considered using HtDP in Spanish and then switch over to Quick? > -- Matthias > > > > On May 28, 2013, at 8:16 PM, Cosme Enmanuel Zamudio Salazar w

Re: [racket] Documentation translation

2013-05-28 Thread Matthias Felleisen
Have you considered using HtDP in Spanish and then switch over to Quick? -- Matthias On May 28, 2013, at 8:16 PM, Cosme Enmanuel Zamudio Salazar wrote: > Right now im teaching a boy how to program in racket, > > i know a that every programmer needs to understand some basic english, but > i

[racket] Documentation translation

2013-05-28 Thread Cosme Enmanuel Zamudio Salazar
Right now im teaching a boy how to program in racket, i know a that every programmer needs to understand some basic english, but its hard for a teenager to learn english and programming at the same time. i want to translate some tutorials to spanish, i asked in the IRC channel and someone propose

Re: [racket] Getting the behavior of scribble/doclang2, but without decode

2013-05-28 Thread Matthew Flatt
I think it would make sense to add an option to `scribble/doclang2' (and `scribble/doclang') to replace `decode'. I've added that to my to-do list, in case no one gets to it first. At Sun, 26 May 2013 15:42:52 -0700, Matthew Butterick wrote: > When you use scribble/doclang2 in a submodule, it prov

[racket] How do I change the icon used for a compiled for distribution program?

2013-05-28 Thread Zelah Hutchinson
I compile my program for distribution but the icon that results is the Racket logo. I would like to know the proper way to change this icon. By the way, thanks for the great answers on my last two questions! Thanks, -Zelah GET FREE S

Re: [racket] Raco Extraneous Setup Activity

2013-05-28 Thread Robby Findler
Probably because the indicies have to be rebuilt after any documentation changes; you're seeing messages that say something about that rebuilding process, I believe. (But 'raco setup' is ridiculously complex (as Matthew mentioned recently on the dev@ list) so there may be something else going on t

Re: [racket] Compiling A Collection - Module Resolving Blame

2013-05-28 Thread Robby Findler
Yes, agreed. It isn't a good situation. There are a lot of things resting on just one man's shoulders around here, however, so if anyone has the energy to try to take this on and sort out what's needed, that would be wonderful. Robby On Tue, May 28, 2013 at 12:24 PM, Ray Racine wrote: > To em

Re: [racket] Compiling A Collection - Module Resolving Blame

2013-05-28 Thread Ray Racine
To emphasis some real world feed back, where there are several people developing across several sizable layered collections say C4 depends on C3, depends on modules from C2 and C1, it is hard to say with a straight face, "Ok folks, Mary refactored a bunch of the C1 modules last week, now I need eac

Re: [racket] Compiling A Collection - Module Resolving Blame

2013-05-28 Thread Robby Findler
IIUC, the problem is that the source location information (for the require) is no longer present when the filesystem access happens that turns into the error. It is not those particular multiple parts of the system (raco, cm, tr) but I think it is a non-trivial change, all inside the core. Also, I

[racket] Call for Papers IFL 2013

2013-05-28 Thread publicityifl
Hello, Please, find below the first call for papers for IFL 2013. Please forward these to anyone you think may be interested. Apologies for any duplicates you may receive. best regards, Jurriaan Hage Publicity Chair of IFL CALL FOR PAPERS 25th SYMPOSIUM ON IMPLEMENTATION AND APPLICATION OF FUNC

[racket] Compiling A Collection - Module Resolving Blame

2013-05-28 Thread Ray Racine
I've created a mini-collection out on Github. https://github.com/RayRacine/tlib.git Consider the single collection, c1, with 4 modules. m1.rkt -> m1a.rkt -> m1aa.rkt m2.rkt Where m1 depends on m1a, m1a on m1aa and m2 had no dependencies. --> raco link /code/tlib/c1 --> raco link -l User links:

Re: [racket] Complexity Failure: Third Attempt, Third Time Fail

2013-05-28 Thread Neil Van Dyke
Ray Racine wrote at 05/27/2013 08:34 PM: Creating a library, documenting it, publishing it should be drop dead simple and just work. And it probably does, for simple things, if you're careful. Probably. I made McFly for this purpose. http://www.neilvandyke.org/mcfly-tools/ It works pretty w

Re: [racket] Complexity Failure: Third Attempt, Third Time Fail

2013-05-28 Thread Matthias Felleisen
Vents are welcome. I definitely agree with "creating a library, documenting it, publishing it should be drop dead simple and just work. And it probably does, for simple things, if you're careful" and I think we need to work on this step. BUT, are you sure you want to publish the library on PLan

[racket] Racket non-gui debugger

2013-05-28 Thread Piotr Klibert
Hello, I like an idea of setting breakpoint and when it is reached during runtime dropping into the interactive shell. It's done in Python with pdb and in one of the Schemes (Gambit?). I tried, but I couldn't make anything similar for Racket. At first I looked at namespaces and (read-eval-print-l

Re: [racket] non-shared module variables

2013-05-28 Thread Tobias Hammer
Remark for future readers: This is missing in module-begin [(local-state-new-id ...) (generate-temporaries #'(local-state-id ...))] On Tue, 28 May 2013 14:33:50 +0200, Jay McCarthy wrote: I would personally go with the syntax-parameter approach. Another option is: (define-syn

Re: [racket] non-shared module variables

2013-05-28 Thread Tobias Hammer
I thought that the syntax-parameter approach with macros would add complexity to functions with optional and/or keyword arguments. But your solution with parameterizing over the state and then the functions solves my problem completely. Thanks for sharing this excellent solution! On Tue,

[racket] Raco Extraneous Setup Activity

2013-05-28 Thread Ray Racine
I have several decent sized collections, each utilized via a 'raco link -d /a/b'. I end up doing numerous 'raco setup x' after munging around in a particular collection set. A typical stdout from a 'raco setup' always appears to have "mystery" collection entailment to vary degrees over time. e.g

Re: [racket] link errors on 64bit

2013-05-28 Thread David Griffiths
Hi Matthew, On 24/05/13 23:54, David Griffiths wrote: > On 24/05/13 18:44, Matthew Flatt wrote: >> At Thu, 23 May 2013 14:43:18 +0100, David Griffiths wrote: >>> I've been getting a problem for some time building against the racket >>> ubuntu packages on 64 bit: >>> >>> /usr/bin/ld: /usr/lib/libra

Re: [racket] non-shared module variables

2013-05-28 Thread Jay McCarthy
I would personally go with the syntax-parameter approach. Another option is: (define-syntax (module-begin stx) (syntax-case stx () [(_ . body) (with-syntax ([add (datum->syntax stx 'add)] [get (datum->syntax stx 'get)]) (syntax/loc stx (#%module-begin

[racket] non-shared module variables

2013-05-28 Thread Tobias Hammer
Hi, i am trying to write a simple language that has variables that should not be shared, i.e that should be local to an invocation of the module-language. Example: ;; --- #lang racket ;; lang (module lang racket (provide (all-from-out racket) add ge

Re: [racket] The Racket FFI is killing me, I am going insane

2013-05-28 Thread Laurent
Most of the time, you won't need all the features of the struct. For pointers you don't care about, you can simply use the generic _pointer type, as long as you don't use the /types/ behind that pointer. Note that you can still use the pointer itself though, e.g., to pass it around functions. And

Re: [racket] The Racket FFI is killing me, I am going insane

2013-05-28 Thread Danny Yoo
On Monday, May 27, 2013, maxwell wrote: > Hello Doctor Yoo, > > I am having serious problems with the Racket FFI. Apparently, to load a > struct from a library, I have to know all of it's contents, and then define > them in terms of their contents, until everything has been defined in terms > of C