> TL;DR: build a new version in its own tree, then use that as a
> guide to carefully deleting the old one from /usr/local by hand.
Sounds workable. If a bit unpleasant. Thanks!
> "/usr/local" sounds like it wasn't from a Debian package.
Alas not. I've never actually used a Debian version:
discovered that the current version is reluctant to install
over an existing version in /usr/local/bin. My system does not
contain a `racket-uninstall` script, and searching the documentation
does not turn up anything about how to remove an installation.
How can I uninstall Racket 5.3.6?
Norman Ramsey
> If you refer to the "Syntax Model" section of the reference
> (http://docs.racket-lang.org/reference/syntax-model.html), you'll see
> that Racket syntax is defined by two passes, called "read" and "expand".
>
> The grammar you gave in your message is what I would call a
> "term"---it's
Where would I find out, preferably in the Racket documentation,
the definition of what a 'form' is? I'm thinking along these lines:
A form is one of:
- a symbol
- a numeric literal
- a string literal
- ... possibly other literals? ...
- a sequence of forms wrapped in one pai
> This is easily doable with a teachpack:
>
> 1. how to create a teachpack
> http://docs.racket-lang.org/htdp/index.html?q=teachpack
>
> 2. the key is to document the (a) structure type definition and (b) the
> data definition you export.
Any recommendations for delivering the documentat
> You can `require` a module that is implemented in ISL, but ISL doesn't
> include `provide`, so you normally don't get anything from the module.
>
> Since ISL includes `require`, you can use it to get `provide`. For
> example, if "p.rkt" has
>
> #lang racket
> (provide provide)
>
>
[Shifting to plt-edu-talk]
> > At Sat, 16 Nov 2013 12:44:03 -0500, Norman Ramsey wrote:
>
> >> On their next assignment, my students will reuse code they have built
> >> for binary search trees. I would prefer that they place the old code in
> >> a dif
> > [Are ISL structures made with define-struct serializable?]
>
> Kind of. If this is about Universe programming (so that students can send
> messages back and forth), I have them write conversion functions:
>
> (define-struct hh (cakes henries))
>
> (define (hh->lists hh)
>(list
On their next assignment, my students will reuse code they have
built for binary search trees. I would prefer that they place the
old code in a different source file than the new code. I tried
doing this using "require", but I cannot figure out how to get
"require" to load a file that is written
A structure is defined with `define-struct` in Intermediate Student Language.
Is it serializable? That is, can it be written and then re-read
successfully with `write` and `read`? If not, is there a way to make it so?
(I have found the function `make-serialize-info` in the racket/serialize
libra
> I think you will find "#lang racket" the best language for writing
> teachpacks.
Using "#lang racket" I have successfully create a package, installed
it, and require'd it. But when I print a structure defined in my
package, the arguments don't print:
> (require geo)
> (length geonames)
I'm trying to create a teachpack for use with Intermediate Student Language.
I believe that I need to create a source file that uses the (provide ...)
form and I need to put it into a package. I have two questions:
- What, if anything, can I put into the info.rkt file to get my
teachpack on
> In HEAD, you can do "raco pkg create --binary"
I need to distribute to students using vanilla 5.3.6.
Should I expect the binaries to be compatible?
Can I create a 5.3.6 binary package by hand somehow?
The problem I am actually trying to solve is to provide students with
some functionality with
I'd like to create a package that includes only compiled code, no source code.
I don't see a suitable option on 'raco pkg create'. Is this possible?
If so, how should it be done?
Norman
Racket Users list:
http://lists.racket-lang.org/users
> 10 minutes ago, Norman Ramsey wrote:
> > I'd like to set up a web site with links that cause the server to
> > deliver Racket source code. Receiving such could would cause the
> > web server to launch DrRacket. I believe the right mechanism to use
> > he
I've just received a stack of forty homework submissions which
I'd like to page through quickly *en masse*. But they are in
GRacket editor format, which means that using my usual pager
is not profitable.Is there a way to take a file in this
format and turn it into relatively readable PDF, or e
s whether there is an existing MIME type used for
describing Racket source files and if installing the Racket system
tells local web browsers about this type---or if I will have to figure
out for myself how to configure this behavior?
Norman Ramsey
Racket Users list:
http
17 matches
Mail list logo