[racket] How can I save all the definitions in racket to a file?

From: Vincent St-Amour (stamourv at ccs.neu.edu)
Date: Thu Jun 24 08:42:08 EDT 2010

At Thu, 24 Jun 2010 03:03:08 -0700,
Insik Cho wrote:
> After I'm working in console 'racket,' I don't want to lose all the
> definitions I have made.
> 
> How can I save the definitions to an external file, i.e., 'xxx.ss'?

You can try running racket with rlwrap. In addition to giving it
readline support, it will save all your interactions in
~/.racket_history

It's a hack, but it works.

Vincent


Posted on the users mailing list.