Re: [racket-users] ssax:make-parser

2018-05-17 Thread N. Raghavendra
At 2018-05-16T14:56:00-04:00, John Clements wrote: > In a quick scan of the existing quasi-documentation for ssax.rkt, > make-parser was the only one that looked to me like it might > productively be used from outside. `ssax:read-pi-body-as-string' is another identifier from sxml/ssax/ssax,

Re: [racket-users] Unicode identifiers

2018-05-17 Thread Greg Hendershott
One of my favorite small things about Racket is that is permits almost anything to be an identifier -- allowing you to use whatever natural names you prefer. In addition to Unicode, identifiers can start with a number: (define 100-continue? "✓") In the rare case where an identifier wouldn't

Re: [racket-users] Unicode identifiers

2018-05-17 Thread N. Raghavendra
At 2018-05-17T11:11:26-04:00, Greg Hendershott wrote: > One gotcha, which I remember confusing myself with, early on: > > (define 'foo "foo") > '1 ;"foo" > '2 ;"foo" > > Huh? That's because 'foo is reader shorthand for (quote foo). So the > above is actually: > > (define (quote

Re: [racket-users] ssax:make-parser

2018-05-17 Thread Neil Van Dyke
One strategy for SXML-related support would be for the Racket community to collectively do all 3 of these: 1. Treat the monolithic `sxml` package of Oleg's various SXML-related tools remaining pretty frozen in its current state. This will be the "raw, classic, everything" package.  It will be

Re: [racket-users] ssax:make-parser

2018-05-17 Thread 'John Clements' via Racket Users
Honestly, reading that snippet … suggests to me that make-parser might not actually be useful without all of the other internal ssax functions, and that perhaps make-parser really shouldn’t be exported, after all :). Is it possible to formulate productive uses of make-parser that don’t require

Re: [racket-users] ssax:make-parser

2018-05-17 Thread Neil Van Dyke
N. Raghavendra wrote on 05/17/2018 03:29 PM: I think 3 is the most attractive possibility, Agreed.  #1 and #2 are for gracefully handling backward compatibility, and for accommodating a decentralized volunteer model. One way that #2 is volunteer-friendly is that, I suggest, for example,

Re: [racket-users] ssax:make-parser

2018-05-17 Thread N. Raghavendra
At 2018-05-17T13:40:47-04:00, Neil Van Dyke wrote: > One strategy for SXML-related support would be for the Racket > community to collectively do all 3 of these: > > 1. Treat the monolithic `sxml` package of Oleg's various SXML-related > tools remaining pretty frozen in its current state. This

Re: [racket-users] ssax:make-parser

2018-05-17 Thread N. Raghavendra
At 2018-05-17T12:45:50-04:00, John Clements wrote: > Honestly, reading that snippet … suggests to me that make-parser might > not actually be useful without all of the other internal ssax > functions, and that perhaps make-parser really shouldn’t be exported, > after all :). If you wish, pending

[racket-users] how to create button to reset vector (tic tac toe game help)

2018-05-17 Thread Adik
im trying to create a (start new game) button to refresh the game (clean board).. attached is the code i have I have already created a reset button that closes the whole game window but i just want it to wipe the previous game data and start new game. Thankyou in advance. -- You received this