guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining Functions With Syntax


From: Noah Lavine
Subject: Re: Defining Functions With Syntax
Date: Wed, 21 Sep 2011 14:44:06 -0400

>> For instance, what about doing
>>
>>   (compile (peg-sexp-compile <some-s-expression>) #:from scheme-syntax
>> #:to value)
>>
>> ? That seems like a nice API to me.
>
> You could do the same with #:from 'scheme, no?

I don't think so, because I think #:from 'scheme expects an
S-expression, but peg-sexp-compile returns a syntax object. I might be
wrong, though.

Noah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]