Re: [racket] How can I dump (display) the variables defined in current the global environment

2015-03-01 Thread Jordan Johnson
On Mar 1, 2015, at 5:37 PM, Rufus wrote: > And also > a function to save this state (variables in the global environment) in a > fashion that could be quickly/easily (ie one short function call) be > reloaded the next day to continue from where I left off. The typical workflow in DrRacket is to u

Re: [racket] xslt

2015-03-01 Thread Neil Van Dyke
Matthew Butterick wrote on 03/01/2015 08:07 PM: As a still newish user of Racket, I have learned to try it Their Way before insisting on having it My Way (or looking for other options farther up the Highway). Yes, a newbie should usually try doing things the Racket Way first. This guidance is

[racket] How can I dump (display) the variables defined in current the global environment

2015-03-01 Thread Rufus
I'm working through the "Little Schemer" and there are literally dozens of variables defined in the exercises. To run code some significant subset of these variables needs to be defined - and particular names get reused frequently with different values. While this is not a show stopper at the mome

Re: [racket] xslt

2015-03-01 Thread Matthew Butterick
On Sat, Feb 28, 2015 at 9:43 PM, Neil Van Dyke wrote: > > But since I started using Racket, I've never been disappointed by doing >> things the Racket Way >> > > Who is defining "the Racket Way" in this case? Wouldn't a good definition > be "practices that the Racket user community values"? Inc

[racket] min and max representable dates

2015-03-01 Thread Jordan Johnson
Hi all, Am I right in thinking the min and max dates that racket/date can handle are platform-dependent? If so, is there any constant I can reasonably use as a least or greatest representable date? I’ve looked in racket/date.rkt and see that there’s some code that appears to be doing binsearch

Re: [racket] Initial environment

2015-03-01 Thread Jukka Tuominen
I've been planning to create #lang liitin at some point, although I'm a bit hesitant whether this makes sense outside Liitin account. In addition to having the environment all set up for you, the idea is to make sure that the code is compatible between users and endures time. There are just too ma

Re: [racket] Initial environment

2015-03-01 Thread Gustavo Massaccesi
I agree that the best method to do this in DrRacket is to create a new language. Once you have the language, you can configure the initial "Automatic" language in the Language/Choose_Language menu. My problem is that DrRacket doesn't run the first program automatically, so if I 1) Open DrRacket 2)

Re: [racket] Initial environment

2015-03-01 Thread Robby Findler
You might also consider making a new language along the lines of #lang racket/gui that includes the extra stuff you want. Robby On Sun, Mar 1, 2015 at 3:00 PM, Jukka Tuominen wrote: > > Thank you Eric, > > I appreciate the principle. I got it working now without violations. > > br, jukka > > >>

Re: [racket] Initial environment

2015-03-01 Thread Jukka Tuominen
Thank you Eric, I appreciate the principle. I got it working now without violations. br, jukka > I do not think it is possible. DrRacket is designed so that the > interaction > window has the namespace of exactly the file you are writing. That is, > what > you type in the interactions window s

[racket] sxpath, txpath and accessors

2015-03-01 Thread Sanjeev K Sharma
I tried to send this twice now- this is the 3rd attempt, I hope no one gets this 3 times / gets pissed. on this page ~/.racket/6.1.1/pkgs/sxml/sxml/doc/sxml/sxpath.html I read this: "Like sxpath, but only accepts an XPath query in string form, using the standard XPath syntax. Deprecated; us

Re: [racket] Initial environment

2015-03-01 Thread Eric Dong
I do not think it is possible. DrRacket is designed so that the interaction window has the namespace of exactly the file you are writing. That is, what you type in the interactions window should behave similarly to if you appended it into the file. And running the file should have the same behavior