On Wed, Jul 20, 2011 at 04:21:26PM -0400, Neil Van Dyke wrote:
> Not to discourage you guys, but just a factoid to keep in mind...
> 'statistically', 31.891% of Lisp programmers have experimented with
> a non-parentheses syntax for Lisp (usually to try to make the
> language more appealing to other
I have a strange bug I can't figure out dealing with re-providing a struct that
was contracted in my require.
Module A:
Firstly, I have a specific contract for my struct:
(provide/contract (struct mystruct ([field integer?])))
I have another part of A I will contract later:
(provide a)
I have s
At Wed, 20 Jul 2011 19:58:20 -0400, Nadeem Abdul Hamid wrote:
> On Wed, Jul 20, 2011 at 7:51 PM, Matthew Flatt wrote:
>
> > This looks like a bug that was fixed earlier this week, though maybe
> > it's something else.
> >
> > When did you get v5.1.2.3, and which language is selected in DrRacket?
On Wed, Jul 20, 2011 at 7:51 PM, Matthew Flatt wrote:
> This looks like a bug that was fixed earlier this week, though maybe
> it's something else.
>
> When did you get v5.1.2.3, and which language is selected in DrRacket?
>
>
I compiled from sources last week sometime. But I think it also happen
This looks like a bug that was fixed earlier this week, though maybe
it's something else.
When did you get v5.1.2.3, and which language is selected in DrRacket?
At Wed, 20 Jul 2011 18:02:15 -0400, Nadeem Abdul Hamid wrote:
> I've posted my first planet package, but I'm getting some weird error in
Calling All Racketeers!
Join us at RacketCon, 23 & 24 July 2011.
http://con.racket-lang.org/
NOTE: To accommodate all the people who want to attend, the room
hosting RacketCon has been changed; please see the web page for
details.
The schedule for RacketCon is now available, and includes
pre
Seems like you need at least one newline at the end of the file -- put an
empty line or two after your printf("Hello") and then it should work.
On Wed, Jul 20, 2011 at 6:30 PM, Grant Rettke wrote:
> On Wed, Jul 20, 2011 at 4:10 PM, Greg Hendershott
> wrote:
> >> define factorial(n)
> >> if {n
On Wed, Jul 20, 2011 at 4:10 PM, Greg Hendershott
wrote:
>> define factorial(n)
>> if {n <= 1}
>> 1
>> {n * factorial{n - 1}}
>
> Wouldn't it need to be something like:
>
> define( factorial(n)
> if {n <= 1}
> 1
> {n * factorial{n - 1}} )
>
> ?
>
> That is, `define' itself needs some s
I've posted my first planet package, but I'm getting some weird error in
building documentation when installing it from DrRacket, which doesn't occur
at all when I install using 'planet install ...' at the command line. Any
ideas what is going wrong? Is there something that I might be missing in my
10 minutes ago, Greg Hendershott wrote:
>
> Where prefix never gets natural (at least it still hasn't for me) is
> complicated math expressions. Having something like curly infix for
> that, would be handy.
There's also this:
http://planet.racket-lang.org/package-source/soegaard/infix.plt/1/0/
> define factorial(n)
> if {n <= 1}
>1
>{n * factorial{n - 1}}
Wouldn't it need to be something like:
define( factorial(n)
if {n <= 1}
1
{n * factorial{n - 1}} )
?
That is, `define' itself needs some sort of handling, whether sweet or sour?
On Wed, Jul 20, 2011 at 4:59 PM, Gran
In this regard, I was you a couple years ago.
Spoiler alert: It turned out to be no hurdle at all. The psychic
whiplash lasted days/weeks, not weeks/months.
As people will point out, you must use an editor that does Lisp/Scheme
paren matching and indentation (like DrRacket or emacs).
> ... getti
On Wed, Jul 20, 2011 at 3:21 PM, Neil Van Dyke wrote:
> If you want to push for a non-paren syntax that people actually use, then by
> all means do so, but I think you'll have to push very hard.
Seems like a pretty cool use of Racket's features to explore
something; whatever conclusion people com
On Wed, Jul 20, 2011 at 2:24 PM, Asumu Takikawa wrote:
> On 2011-07-20 15:19:44 -0400, Asumu Takikawa wrote:
>> To use, write a #lang line like this:
>>
>> #lang asumu/sweet racket
>>
>> printf("Hello")
>
> Whoops, that should be
> #lang planet asumu/sweet racket
Thanks.
Just tried this:
#
Not to discourage you guys, but just a factoid to keep in mind...
'statistically', 31.891% of Lisp programmers have experimented with a
non-parentheses syntax for Lisp (usually to try to make the language
more appealing to other people), and 0.001% of those experiments have
been used in any las
Hi all,
sorry I'm coming with an FFI question again ... I am stuck with an error
passing a cstruct to a function for output, but unfortunately I'm not sure the
problem is in my Racket code (I'd hope so, because in that case, I might hope
for some help :-;)
I need to define a function
boolean
On 2011-07-17 19:13:07 +0200, Danny Wilson wrote:
> Hi List,
>
> Short version: is there an implementation of
> http://www.dwheeler.com/readable/sweet-expressions.html for
> typed/racket or just racket?
I've been curious about sweet expressions myself for a while
too, so I went ahead and ported
On 2011-07-20 15:19:44 -0400, Asumu Takikawa wrote:
> To use, write a #lang line like this:
>
> #lang asumu/sweet racket
>
> printf("Hello")
Whoops, that should be
#lang planet asumu/sweet racket
--Asumu
_
For list-related administrative t
Also in the Guide they are mentioned:
http://docs.racket-lang.org/guide/define-struct.html?q=prop%3Aprocedure#%28part._struct-options%29
You may find that a more useful place to start, depending on how
familiar you are with Racket, since the information nearby tends to
explain the more useful thi
As an example of this, you can see my `lambda/prop' example here:
https://gist.github.com/935350
The documentation for `prop:procedure' is here:
http://docs.racket-lang.org/reference/procedures.html?q=prop%3Aprocedure#%28def._%28%28lib._racket/private/base..rkt%29._prop~3aprocedure%29%29
On W
Do you perhaps want prop:procedure?
Robby
On Tue, Jul 19, 2011 at 6:08 PM, Pavel Panchekha wrote:
>
> I'm trying to port some code from MIT Scheme to Racket. A large part of
> the MIT Scheme was a metacircular interpreter, and I'm hoping that I can
> use Racket's language definition capabilitie
I'm trying to port some code from MIT Scheme to Racket. A large part of
the MIT Scheme was a metacircular interpreter, and I'm hoping that I can
use Racket's language definition capabilities to avoid that annoyance.
But I've hit a snag. One of the important parts of the MIT Scheme
wrapped all o
That's my experience as well, which is one of the reasons I've spent
so much time working on the stateless continuations, so you get the
convenience without the memory consumption.
Jay
On Wed, Jul 20, 2011 at 6:33 AM, Noel Welsh wrote:
> On Wed, Jul 20, 2011 at 3:18 AM, Hendrik Boom wrote:
>> I
23 matches
Mail list logo