Hi, David.
The exn:fail:filesystem and exn:fail:network do provide the errno code, If
you are only working in one OS, you can also rely on the errno code. If you
are working on multiple OSes, it might be a problem since Racket have not
yet provided an abstract layer on the errno code.
If you pref
In the case of `rename-file-or-directory`, it looks like
`exn:fail:filesystem:exists` is not raised as intended on non-Windows
platforms (broken as of v6.5). I'll fix that.
Otherwise, I agree that using the `errno` field is the way to go when
you have an `exn:fail:filesystem:errno` exception. The
On Tue, Nov 29, 2016 at 6:14 AM, Matthew Flatt wrote:
>
> Otherwise, I agree that using the `errno` field is the way to go when
> you have an `exn:fail:filesystem:errno` exception. The `lookup-errno`
> function provided by `ffi/unsafe` can be helpful for recognizing Posix
> errors more portably.
I find myself implementing make (or something similar) in Racket... can anyone
point to a good example of the job server portion? Specifically: code to spawn
and maintain N subprocesses from a list of jobs to run.
Thanks,
Dan
--
You received this message because you are subscribed to the Goog
A simplified fragment of scribble code:
#lang scribble/manual
@(require scribble/eval)
@interaction[
(define a (list 1))
(define b (list 1))
(code:comment "a and b are not eq, but they are equal:")
(eq? a b)
(equal? a b)]
Within the comment I would like to hyperlink 'eq' to the doc of [eq?
DrDr uses job-queue for a similar process
http://docs.racket-lang.org/job-queue/index.html
Jay
On Tue, Nov 29, 2016 at 2:22 PM, Dan Liebgold
wrote:
> I find myself implementing make (or something similar) in Racket... can
> anyone point to a good example of the job server portion? Specifical
You can use the escape identifier:
#lang scribble/manual
@(require scribble/eval
(for-label racket))
@interaction[
(define a (list 1))
(define b (list 1))
(code:comment @#,para{a and b are not @racket[eq?], but they are
@racket[equal?]:})
(eq? a b)
(equal? a b)]
On Tue, Nov 29, 2
Typed Racket uses this code:
https://github.com/racket/typed-racket/blob/master/typed-racket-test/send-places.rkt
to manage a job queue for testing.
Sam
On Tue, Nov 29, 2016 at 3:23 PM, Jay McCarthy wrote:
> DrDr uses job-queue for a similar process
>
> http://docs.racket-lang.org/job-queue/inde
Thanks, I'll try that.
It is not clear to me where I can use @#,
But certainly your response will be a great help for me.
Thanks again, Jos
-Original Message-
From: stchang...@gmail.com [mailto:stchang...@gmail.com] On Behalf Of Stephen
Chang
Sent: martes, 29 de noviembre de 2016 21:31
To
On the mailing lists section of the Racket site, there are users, announcements
and dev groups. Underneath each are three IMG tags referencing bad urls, e.g.
http://gmane.org/plot-rate.php?group=gmane.comp.lang.racket.user
I just thought to mention it after seeing dead-link pictures for quite s
On Tuesday, November 29, 2016 at 12:23:32 PM UTC-8, Jay McCarthy wrote:
> DrDr uses job-queue for a similar process
>
> http://docs.racket-lang.org/job-queue/index.html
>
Looks promising. However, the docs say that stop-job-queue! will block until
jobs are done... and this code doesn't wait: ht
Wow, that's a lame error that has been there for a LONG time. I just
pushed a fix.
On Tue, Nov 29, 2016 at 6:15 PM, Dan Liebgold
wrote:
> On Tuesday, November 29, 2016 at 12:23:32 PM UTC-8, Jay McCarthy wrote:
>> DrDr uses job-queue for a similar process
>>
>> http://docs.racket-lang.org/job-queu
On Tuesday, November 29, 2016 at 3:32:48 PM UTC-8, Jay McCarthy wrote:
> Wow, that's a lame error that has been there for a LONG time. I just
> pushed a fix.
>
Got it.
Any advice for how to handle when a job thunk raises an exception? Currently
(stop-job-queue! jq) waits forever...
--
You re
On Tue, Nov 29, 2016 at 4:22 PM, Dan Liebgold
wrote:
> On Tuesday, November 29, 2016 at 3:32:48 PM UTC-8, Jay McCarthy wrote:
> > Wow, that's a lame error that has been there for a LONG time. I just
> > pushed a fix.
> >
>
> Got it.
>
> Any advice for how to handle when a job thunk raises an exce
A very rookie question: I am trying to figure out how to specify the
equivalent of HTML's rowspan attribute for tabular from scribble/base: that
is, to have a cell which spans more than one row. In LaTeX, I think I would
use "multirow" (but I'm no LaTeX expert).
I know so know about 'cont, but I b
15 matches
Mail list logo