Thanks. Also nice. I like the explicit algorithmic approach.
A.
On Sunday, 19 August 2018 03:14:22 UTC+10, ra...@airmail.cc wrote:
>
> > As an example, this...
> >
> > - a
> > - b c
> > - d e f
> > - g h
> >
> > would get transformed into something like this...
> >
> > '(a (b c)
Very nice. The Racket special sauce is the (match*...). I need to get my
head around what's going on there.
A.
On Saturday, 18 August 2018 22:52:51 UTC+10, Jens Axel Søgaard wrote:
>
>
>
> Den lør. 18. aug. 2018 kl. 03.31 skrev Andrew J >:
>
>> Hi. In a little side project, I'm looking for an s
Thanks, that makes sense. However, I tried doing this with a variable
defined within a program, but it doesn't work. I would like the user to
define their our `root` function to wrap everything, however, when I try to
access it with `syntax-local-introduce` it isn't found. I have:
(define-fo
On Fri, Aug 17, 2018 at 9:20 PM, Christopher Lemmer Webber <
cweb...@dustycloud.org> wrote:
> David Storrs writes:
>
> > I've been going through the docs on struct properties, both the Guide and
> > the Reference. I can't see any way to add new properties to a struct at
> > runtime (i.e., after t
Hi David. You want to either look at the documentation of racket/system (to
open executables) or ffi/unsafe (for shared libraries with a C interface).
Deren
On Sat, Aug 18, 2018 at 1:21 PM, David Merinos wrote:
> Hello. Is there a way to call to a C program from within racket? I'd like
> to wri
Hello. Is there a way to call to a C program from within racket? I'd like
to write a few Racket functions to call CGAL programs I made on C++. Thank
you.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop r
As an example, this...
- a
- b c
- d e f
- g h
would get transformed into something like this...
'(a (b c) (d e f (g h)))
You can implement this in 2 stages. Stage 1 is line based parsing, turn
the input text into this list:
'((0 a)
(2 b c)
(2 d e f)
(4 g h)))
the n
Maybe you found a bug in some of the Racket toplevel magic, in some
aspect of DrRacket, or in something else.
For a failure like this (and many others), one thing you can do is try
to prepare a minimal-ish test case that reproduces the failure. (This is
a real Racket source file, not an explan
Den lør. 18. aug. 2018 kl. 03.31 skrev Andrew J :
> Hi. In a little side project, I'm looking for an simple Racket-y way to
> transform a bulleted list into a tree structure, maybe like sxml.
>
> As an example, this...
>
> - a
> - b c
> - d e f
> - g h
>
> would get transformed into someth
No big deal, but I thought I'd report this:
I had a series of expressions that were generating unwanted output.
Putting them inside a (begin <>) did not work, for reasons that were
explained to me elsewhere (thanks!)
Anyway, I sorted the problem by enclosing every offending expression in
(voi
10 matches
Mail list logo