5 hours ago, Matthew Flatt wrote:
> At Wed, 13 Oct 2010 20:48:05 -0400, Eli Barzilay wrote:
> > I'm getting an escape one:
> >
> > -> (let ([cont? #t])
> >(with-handlers ([exn:break?
> > (lambda (e)
> > (when cont?
> >
At Thu, 14 Oct 2010 11:15:24 +0100, Peter Kiggins wrote:
> On 12 October 2010 16:50, Matthew Flatt wrote:
> > At Tue, 12 Oct 2010 14:48:49 +0100, Peter Kiggins wrote:
> >> [I am completely new to both Scheme and racket, so if my questions are
> >> Looking at traversal of a file tree led me to in-d
At Wed, 13 Oct 2010 20:48:05 -0400, Eli Barzilay wrote:
> Yesterday, Matthew Flatt wrote:
> >
> > Code that raises an exception can include a continuation in the
> > exception to allow a restart, and the exception raised for an
> > asynchronous break (which is usually triggered when you hit Ctl-C)
On 12 October 2010 16:50, Matthew Flatt wrote:
> At Tue, 12 Oct 2010 14:48:49 +0100, Peter Kiggins wrote:
>> [I am completely new to both Scheme and racket, so if my questions are
>> Looking at traversal of a file tree led me to in-directory.
>>
>> [ ... ]
>>
> No particular restart system built i
Yesterday, Matthew Flatt wrote:
>
> Code that raises an exception can include a continuation in the
> exception to allow a restart, and the exception raised for an
> asynchronous break (which is usually triggered when you hit Ctl-C)
> does that. [...]
Is it supposed to be a full continuation? I'
Peter could roll his own in-directory recursive function in just a few line
catching the relevant exceptions:
> (define (traverse d)
> (parameterize ([current-directory d])
> (define d (directory-list))
> (for-each (lambda (x)
> (printf "~a " x)
> (defi
At Tue, 12 Oct 2010 14:48:49 +0100, Peter Kiggins wrote:
> [I am completely new to both Scheme and racket, so if my questions are
> Looking at traversal of a file tree led me to in-directory. The
> problem is that as soon as it hits a directory it cannot search
> (permissions, whatever...) it drop
[I am completely new to both Scheme and racket, so if my questions are
easily answered by reading some documentation, please just point me at
it.]
Looking at traversal of a file tree led me to in-directory. The
problem is that as soon as it hits a directory it cannot search
(permissions, whatever
8 matches
Mail list logo