This is the utility I've been working on that had me posting on here for
help from time to time. I enjoy programming in scheme probably more then CL
because of its simplicity, but I wanted to check out and go through some
common lisp books like Practical Common Lisp(which is awesome). But I find
it
Hello,
I am running Racket 5.0.1 in Windows.
Specifically, I'm using racket.exe from the Windows cmd prompt.
If I enter a multi-line expression manually, it works fine:
> (+ 1 2
3)
6
But if I copy and paste in the same expression, I get an error:
> (+ 1 2
3)
reference to undefined identifier:
Hi everyone,
I wanted to double check things before I start re-hacking the WeScheme
REPL. I'm trying to work with the mzc-generated bytecode for REPL
interaction expressions. From looking at the implementation of the
module language in drracket/private/module-language.rkt, I've derived
the follo
>
> It's true that macro arguments are syntax objects, and the rest of your
> tutorial shows one way of interpreting a syntax object as an "expression at
> compile time" (as opposed to "expression at run time", which is what most
> macro arguments are).
>
> It's also possible to do the evaluation i
Hi Jay,
On Thu, Sep 16, 2010 at 13:24, Jay McCarthy wrote:
> http://planet.racket-lang.org/display.ss?package=xml-rpc.plt&owner=jaymccarthy
>
> On Thu, Sep 16, 2010 at 9:31 AM, Jay McCarthy wrote:
>> I'll work on an updated version.
Thanks much. Would you like me to do a diff and commit those c
reading on scrtachbox it seems to cross compile for specifically for
embedded linux - is iOS based on linux?
On Thursday, September 16, 2010, Stephen De Gabrielle
wrote:
> FWIW
> I once used scratchbox to cross compile mzscheme to arm
>
> -wikipedia, from Maemo page ->
> The Maemo SDK is based ar
It's live:
http://planet.racket-lang.org/display.ss?package=xml-rpc.plt&owner=jaymccarthy
On Thu, Sep 16, 2010 at 9:31 AM, Jay McCarthy wrote:
> I'll work on an updated version.
>
> Jay
>
> On Thu, Sep 16, 2010 at 5:47 AM, Matt Jadud wrote:
>> On Wed, Sep 15, 2010 at 17:34, Tobias Salzmann
>>
On Thu, Sep 16, 2010 at 8:21 AM, Neil Van Dyke wrote:
> Ah, makes sense that compilation of collections is part of the testing.
>
> There have been multicore ARMs in SMP configurations. Maybe there's an
> option there, if someone wants to look into what's currently available and
> whether it's ap
FWIW
I once used scratchbox to cross compile mzscheme to arm
-wikipedia, from Maemo page ->
The Maemo SDK is based around the Debian-oriented Scratchbox Cross
Compilation Toolkit, which provides a sandbox environment in which
development may take place. Scratchbox uses Qemu to emulate an ARM
proce
Laurent wrote:
Dear Racket list,
As a non-expert of Scheme macro system,
I've been struggling for a while to find out how to
define a macro that can take a procedure as argument.
For example, suppose you want to define a macro that takes
an identifier and an expression, modifies the identifier
I'll work on an updated version.
Jay
On Thu, Sep 16, 2010 at 5:47 AM, Matt Jadud wrote:
> On Wed, Sep 15, 2010 at 17:34, Tobias Salzmann wrote:
>> there are already news?
>
> I got buried by life this weekend.
>
> Dave, do you have any suspicions about how far the webserver has moved
> compared
I've just put up a new version of the package with your change.
Thanks,
Jay
On Wed, Sep 15, 2010 at 10:32 PM, Synx wrote:
> Sadly gdbm does not seem to provide a libdbm.so library itself, instead
> instructing every program using it to link with both libgdbm and
> libgdbm_compat for similar beh
It is probably better to use command-line (what Jay pointed to) and,
if you do, you can pass the #:argv argument to like Eli suggests.
Robby
On Thu, Sep 16, 2010 at 8:59 AM, Eli Barzilay wrote:
> On Sep 16, Matthias Felleisen wrote:
>> If so, to develop the program, open the language dialog in D
On Sep 16, Matthias Felleisen wrote:
> If so, to develop the program, open the language dialog in DrRacket
> (cmd L) and ask for details. In the text box for "command line
> arguments ..." enter some strings between the parentheses, like
> this:
>
> #("hello" "1" "#t")
>
> and click OK In the
If so, to develop the program, open the language dialog in DrRacket (cmd L) and
ask for details.
In the text box for "command line arguments ..." enter some strings between the
parentheses, like this:
#("hello" "1" "#t")
and click OK
In the definitions window, enter
#lang racket
(de
Sorry, there isn't a way to do that at the moment.
But it occurs to me that when Stevie is done with the chaperone
overhaul of the contract system then equal? will do what you want (so
you can use hashes for your metadata).
Robby
On Thu, Sep 16, 2010 at 7:05 AM, Markku Rontu wrote:
> I'm contin
http://docs.racket-lang.org/reference/Command-Line_Parsing.html
On Thu, Sep 16, 2010 at 5:59 AM, Isaiah Gilliland wrote:
> I know many programs that accept input while calling the program like:
> "program -o option" I'd really like to use this for my next few projects but
> I'm not even really su
On Thu, Sep 16, 2010 at 13:59, Isaiah Gilliland wrote:
> I know many programs that accept input while calling the program like:
> "program -o option" I'd really like to use this for my next few projects but
> I'm not even really sure where to even look for information. I've been
> scouring the ra
I'm continuing with define/contract a bit. Let's say there are two
definitions like this
#lang racket
(define/contract (sum/c lon)
((listof number?) . -> . number?)
(sum lon))
(define (sum lon)
(if (empty? lon)
0
(+ (first lon)
(sum (rest lon)
> (has-contract? sum
I know many programs that accept input while calling the program like:
"program -o option" I'd really like to use this for my next few projects but
I'm not even really sure where to even look for information. I've been
scouring the racket I/O docs and even the r6rs docs, but haven't found
anything
On Wed, Sep 15, 2010 at 17:34, Tobias Salzmann wrote:
> there are already news?
I got buried by life this weekend.
Dave, do you have any suspicions about how far the webserver has moved
compared to where the xmlrpc library is? I simply haven't used Scheme
for the better part of six months or mor
On Thu, Sep 16, 2010 at 4:38 AM, Laurent wrote:
>
>
> On Wed, Sep 15, 2010 at 19:35, Matthias Felleisen
> wrote:
>>
>> On Sep 15, 2010, at 1:33 PM, Laurent wrote:
>>
>> >
>> > This hack will have limitations,
>> >
>> > Do you have specific ones in mind?
>> >
>> > but you could take this one step
On Thu, Sep 16, 2010 at 1:40 AM, Markku Rontu wrote:
> Thanks for the info.
>
> On Thu, Sep 16, 2010 at 12:27 AM, Robby Findler
> wrote:
>>
>> Contracts are implemented by creating wrapper functions and
>> define/contract does this by changing how the variable reference
>> "unfun" works. It actua
On Wed, Sep 15, 2010 at 19:35, Matthias Felleisen wrote:
>
> On Sep 15, 2010, at 1:33 PM, Laurent wrote:
>
> >
> > This hack will have limitations,
> >
> > Do you have specific ones in mind?
> >
> > but you could take this one step
> > further by having the argument to your macro be an identifier
Dear Racket list,
As a non-expert of Scheme macro system,
I've been struggling for a while to find out how to
define a macro that can take a procedure as argument.
For example, suppose you want to define a macro that takes
an identifier and an expression, modifies the identifier in some
way, and
25 matches
Mail list logo