Now I’m wondering: would you be able to extend this to the repl in the
interactions panel?
On Apr 6, 2015, at 6:46 PM, Robby Findler wrote:
> I've just pushed a change to DrRacket to do that. Thanks for the
> prompting; it helped me realize a better approach than what was there
> before.
>
> T
sam wrote on 04/07/2015 07:06 PM:
version of racket i use does not allow me to use internal definitions using
(R5RS) language
It seems like you keep trying to use various `#lang racket` language
features with `#lang r5rs`. They are two different languages, and
Racket is orders of magnitude
version of racket i use does not allow me to use internal definitions using
(R5RS) language
like this for example
(define (read-command)
(set! com '( '() ))
(set! wl (read-as-list))
(define ret1 (list->string wl))
(commRead)
ret1
)
says not allowed in rxpression context: (define ret1
On Tuesday, April 7, 2015 at 3:35:49 PM UTC-6, neil wrote:
> R5RS doesn't have a `read-line`.
>
> I think most people use `#lang racket` or `#lang racket/base` now. If
> you need to use R5RS for some reason, you'll want to work from the R5RS
> document, not from the Racket documentation.
>
> ht
R5RS doesn't have a `read-line`.
I think most people use `#lang racket` or `#lang racket/base` now. If
you need to use R5RS for some reason, you'll want to work from the R5RS
document, not from the Racket documentation.
http://www.schemers.org/Documents/Standards/R5RS/HTML/
Neil V.
--
You r
keep getting this error, (using R5RS standard language)
read-line: undefined;
cannot reference undefined identifier
(define repl
(lambda()
(display "\nUofL>")
(let ((inp (read-line)))
(set! lista (append (string-split inp) lista))
(set! lengtha (length
language used is R5RS
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.co
getting "read-line: undefined; cannot reference undefined identifier" error
for this code segment
(define repl
(lambda()
(display "\nUofL>")
(let ((inp (read-line))) <--- this specific line
(set! lista (append (string-split inp) lista))
(set! le
Quite right, I think.
3 things are important (in my experience):
Most important: the algorithm. For example I once made a fully vectorized
program for shortest paths that was much slower than a simpler
non-vectorized program, simply because my algorithm was not efficient.
Second: appropiate use
I downloaded the new snapshot as soon as I could to try it out. Thank you!
This is my new favorite thing about DrRacket!
On Apr 7, 2015, at 7:55 AM, Robby Findler wrote:
> If you have a recent snapshot build then you can say "raco pkg update
> drracket". It should also be in today's snapshot
Hi all,
This weekend I added to the package catalog a set of libraries (named
net-cookies) for managing cookies as per RFC6265, the most recent cookie RFC.
Documentation: http://pkg-build.racket-lang.org/doc/cookies/index.html
Source: https://github.com/RenaissanceBug/racket-cookies
Examples
I've pushed a fix for this, but I see that many other things don't
work right along these lines. For example, vectorness is not preserved
and probably none of the things except listness is preserved (from the
list of things here
http://docs.racket-lang.org/reference/sequences.html).
It's not too h
Hi,
I have issues on this and not sure what is behind:
My OS: Win7 64 bits
Cygwin installed: 64 bits
Racket: 64 bits
FFI library: 64 bits cygusb-1.0.dll ( it has Cygwin1.dll dependency)
The racket code is very simple, just like below:
#lang racket/base
(require ffi/unsafe
ffi/unsafe/de
The `free-vars` function relies on the binding information added by the
macro expander during the expansion process. More precisely, only
identifiers whose `identifier-binding` information is `'lexical` are
included. All the identifiers you expected to see instead have no binding
information -- the
On Tuesday, April 7, 2015 at 7:55:38 AM UTC-4, Robby Findler wrote:
> If you have a recent snapshot build then you can say "raco pkg update
> drracket". It should also be in today's snapshots (I think it made the
> deadline).
Ah, OK. I'll try that.
Before reading this, I got so far as "raco pkg
If you have a recent snapshot build then you can say "raco pkg update
drracket". It should also be in today's snapshots (I think it made the
deadline).
Robby
On Tuesday, April 7, 2015, Joshua Grams wrote:
> On Monday, April 6, 2015 at 6:46:35 PM UTC-4, Robby Findler wrote:
> > I've just pushed
On Monday, April 6, 2015 at 6:46:35 PM UTC-4, Robby Findler wrote:
> I've just pushed a change to DrRacket to do that. Thanks for the
> prompting; it helped me realize a better approach than what was there
> before.
>
> The way it now works is less accurate than it was before but I think a
> win o
I don't understand the free-vars function
http://docs.racket-lang.org/syntax/syntax-helpers.html#%28def._%28%28lib._syntax%2Ffree-vars..rkt%29._free-vars%29%29
For example, I would expect (free-vars #'foo) to be (list #'foo), and
(free-vars #'(#%plain-lambda (foo) bar)) to be (list #'bar), but bot
18 matches
Mail list logo