Re: [racket-users] advice for writing desktop app

2015-04-04 Thread Gour
Alexander D. Knauth alexan...@knauth.org writes: For tables, I wrote my own version of some kind of table for racket’s gui so that I could use it in a gui latin dictionary I was making. Thanks. Looks good. Sincerely, Gour -- One is understood to be in full knowledge whose every endeavor

Re: [racket-users] advice for writing desktop app

2015-04-04 Thread Gour
Vincent St-Amour stamo...@ccs.neu.edu writes: I have written GUI applications in Racket, .NET, Swing and tk, and Racket is the most pleasant by far, IMO. I'm glad to hear it. Racket, as language, really looks beautiful - simple syntax and powerful expressibility, afaict. Do you find Racket's

Re: [racket-users] advice for writing desktop app

2015-04-04 Thread Gour
Alexander D. Knauth alexan...@knauth.org writes: Here it is, although some of the things I did like creating objects on a dummy panel and then reparenting them seem like they could be bad ideas. https://github.com/AlexKnauth/racket-gui-table Thank you. I did star it. What about trees? You

[racket-users] Questions: free-identifier=?; literal-id in syntax-case

2015-04-04 Thread Jos Koot
The following puzzles me: #lang racket (define plus +) (free-identifier=? #'+ #'plus) ; - #f #lang racket (define-syntax (a stx) (syntax-case stx () ((_) (datum-syntax stx (free-identifier=? #'+ #'plus) (define plus +) (a) ; - #f #lang racket (define plus +) (define-syntax (a stx)

Re: [racket-users] raco exe can't build executables on OpenBSD

2015-04-04 Thread Andrew Mauer-Oats
Notice that not only does the output file fail to open, but also the raco pkg show has a similar error. I missed that the first read through. I see you said you installed manually main-distribution. You could look into that process. I think you should verify no issues exist before you do that

[racket-users] a desperate plea for new package system etiquette

2015-04-04 Thread Neil Van Dyke
I don't know how other people feel about someone else putting packages they wrote into the new package system, but I think it's a problem. Today marks at least the third time that I was about to move forward with the new package system, but it just came to a screeching halt, when I found

Re: [racket-users] Racket and FastCGI

2015-04-04 Thread Neil Van Dyke
Lux wrote on 04/03/2015 05:47 AM: cgi.assign = ( .rkt = /usr/bin/racket ) scgi.server = ( .rkt = (( bin-path = /usr/bin/racket, socket = /tmp/racket.socket ))) scgi.debug = 1 -- Trying to

Re: [racket-users] advice for writing desktop app

2015-04-04 Thread Jens Axel Søgaard
Tree? Do you mean this? http://docs.racket-lang.org/mrlib/Hierarchical_List_Control.html?q=button%25 /Jens Axel 2015-04-04 10:30 GMT+02:00 Gour g...@atmarama.net: Alexander D. Knauth alexan...@knauth.org writes: Here it is, although some of the things I did like creating objects on a

Re: [racket-users] Questions: free-identifier=?; literal-id in syntax-case

2015-04-04 Thread Alexander D. Knauth
On Apr 4, 2015, at 11:22 AM, Jos Koot jos.k...@gmail.com wrote: The following puzzles me: #lang racket (define plus +) (free-identifier=? #'+ #'plus) ; - #f #lang racket (define-syntax (a stx) (syntax-case stx () ((_) (datum-syntax stx (free-identifier=? #'+ #'plus) (define

[racket-users] a syntax-class that can get the var-id it was used with?

2015-04-04 Thread Alexander D. Knauth
Is there a way to define a syntax-class so that for example in: (syntax-parse stx [(_ a:stxcls) ….]) It would be able to know that it was used with a, instead of for instance b in b:stxcls? Is that possible? If not, would it be a good idea to add? The reason I ask is that then it might be

Re: [racket-users] raco exe can't build executables on OpenBSD

2015-04-04 Thread Juan Francisco Cantero Hurtado
On Saturday, April 4, 2015 at 5:10:21 PM UTC+2, Andrew Mauer-Oats wrote: Notice that not only does the output file fail to open, but also the raco pkg show has a similar error. I missed that the first read through.  I see you said you installed manually main-distribution. You could look

[racket-users] eval and set

2015-04-04 Thread Erik Silkensen
Could someone explain how this example works? $ racket Welcome to Racket v6.1.1. - (require racket/sandbox) - (define racket-eval (make-evaluator 'racket)) - (define a (racket-eval '(set 1 2 3))) - a (set 1 2 3) - (set? a) #f - (define racket-eval-again (make-evaluator 'racket)) - (equal? a

Re: [racket-users] eval and set

2015-04-04 Thread Alexander D. Knauth
On Apr 4, 2015, at 5:26 PM, Erik Silkensen eriksilken...@gmail.com wrote: Could someone explain how this example works? $ racket Welcome to Racket v6.1.1. - (require racket/sandbox) - (define racket-eval (make-evaluator 'racket)) - (define a (racket-eval '(set 1 2 3))) - a (set 1 2 3)