Uh, yeah, this was an easy fix once I realized what was going on.
Hopefully at least my silly confusion leads to a Google-able answer
for someone in the future.
$ sudo easy_install --upgrade pygments
Got me the right pygments version.
Thanks, sorry for the bother.
On Sun, Oct 20, 2013 at 8:42
Yeah, sorry, I was typing a correction when I saw your email come in:
---
Sorry, scratch that. On the box I used above, I had some stuff
leftover from Pygments HEAD. Therefore it's confusingly talking about
1.5. The Racket lexer was added between Pygments 1.5 and 1.6. You need
the Pygments 1.6 re
OK, my version looks like yours, but seems to have less taste in languages:
$ pygmentize -V
Pygments version 1.5, (c) 2006-2011 by Georg Brandl.
$ pygmentize -l racket
Error: no lexer for alias 'racket' found
$ pygmentize -l a-lexer-that-does-not-exist
Error: no lexer for alias 'a-lexer-that-does-
First let's make sure your Pygments version is new enough to include
the lexer for Racket.
Can you try the following and let me know what it says, for you?
$ pygmentize -V
# I get: Pygments version 1.5, (c) 2006-2011 by Georg Brandl.
$ pygmentize -l racket
(+ 1 0)
C-d
# I get: (+ 1 0) colorized,
> 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
Trying to get set up with Frog, hit the following:
$ raco pkg install frog
$ mkdir scratch/frog-test
$ cd scratch/frog-test
$ raco frog --init
Frog 0.7
Configuration /home/joe/scratch/frog-test/.frogrc not found; using defaults.
Creating files in /home/joe/scratch/frog-test/:
/home/joe/scratch/fro
In HEAD, you can do "raco pkg create --binary"
http://www.cs.utah.edu/plt/snapshots/current/doc/pkg/cmdline.html#%28part._raco-pkg-create%29
On Sun, Oct 20, 2013 at 4:41 PM, Norman Ramsey wrote:
> I'd like to create a package that includes only compiled code, no source code.
> I don't see a suit
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
1. W/o files, I can only guess that you're using a partially ported initdr. scm
file that needs a relatively simple fix (commenting out a definition, adding an
except-in somewhere).
2. Books in CS, like software, bit-rots. I consider EOPL3 a significant
improvement over EOPL2. Also consider u
Hi,
I've been using EOPL2 to teach Programming Languages for a dozen years now,
and am having a great deal of trouble just trying to use the legacy code like
define-datatype.scm,
sllgen.scm and the various early interpreters (e.g. 3-1.scm). I'm only
interested in about the first 100 pages
of the
Thanks, I'll leave that lesson for another day! I've reverted back to using
the non-typed predicate. I had originally done this as the first step to
solving a chaperone problem with a hasheq being seen as a hash, but that
was a bug with 5.3.6 since fixed in the git master branch, but switching to
i
On Sun, Oct 20, 2013 at 5:42 PM, Joe Python wrote:
> I am not sure whether this is a the right list to post this question. Else
> please let me know.
>
> I run this in Dr. racket.
>
> #lang racket
> (define lower 1)
> (define upper 100)
>
> (define (guess)
> (quotient (+ lower upper) 2))
>
> (d
guess is a procedure, and not a number.
The error message is telling you that it expects a number and not a procedure
as the argument to sub1.
If you evaluate guess in the REPL, you can see the problem:
> guess
#
What you want is the following:
> (guess)
50
The problem was that you were p
I am not sure whether this is a the right list to post this question. Else
please let me know.
I run this in Dr. racket.
#lang racket
(define lower 1)
(define upper 100)
(define (guess)
(quotient (+ lower upper) 2))
(define (smaller)
(set! upper (max lower (guess (sub1 guess
(guess))
Thanks Matthew for adding the new abstract URL!
I updated travis-racket to use this. In your build matrix you can now
specify `HEAD` as well as versions like `5.3.6`.
For example this .travis.yml runs a build against 3 versions of
Racket, 1 of which is HEAD:
~~~
language: c
# Supply at least o
15 matches
Mail list logo