[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments on process template syntax
From: |
Kyle Meyer |
Subject: |
Re: Comments on process template syntax |
Date: |
Wed, 05 Feb 2020 16:02:52 +0000 |
zimoun <address@hidden> writes:
> On Wed, 5 Feb 2020 at 16:29, Kyle Meyer <address@hidden> wrote:
>> Those are just different ways you can write the same thing in Wisp:
>
> I agree.
>
> (aside the fact that I personally do not like the colon ':')
>
> But the macrology sugar will not expand as Wisp does, if I have
> understood correctly, i.e., the expansion will be
>
>> (process list-file-template (filename))
>
> The 'with' is sugar to specify the arguments and avoid all the
> ambiguous examples.
The macro works on the Scheme representation; it doesn't influence the
Wisp to Scheme conversion. Any of those three Wisp variants would be
converted to the equivalent of
(process list-file-template (with filename) ...)
where `process' above is a macro from sugar.scm (currently named
`process:'). And then the macro would expand that into something like
(define-public list-file-template
(lambda (filename)
(process ; <- process constructor from processes.scm, not sugar macro
...)))
- Re: Comments on process template syntax, (continued)
- Re: Comments on process template syntax, Roel Janssen, 2020/02/03
- Re: Comments on process template syntax, Ricardo Wurmus, 2020/02/03
- Re: Comments on process template syntax, Roel Janssen, 2020/02/03
- Re: Comments on process template syntax, Ricardo Wurmus, 2020/02/03
- Re: Comments on process template syntax, Ricardo Wurmus, 2020/02/04
- Re: Comments on process template syntax, Kyle Meyer, 2020/02/04
- Re: Comments on process template syntax, zimoun, 2020/02/05
- Re: Comments on process template syntax, Kyle Meyer, 2020/02/05
- Re: Comments on process template syntax, zimoun, 2020/02/05
- Re: Comments on process template syntax,
Kyle Meyer <=
- Re: Comments on process template syntax, zimoun, 2020/02/05
- Re: Comments on process template syntax, zimoun, 2020/02/05
- Re: Comments on process template syntax, Ricardo Wurmus, 2020/02/05
- Re: Comments on process template syntax, zimoun, 2020/02/05
- Re: Comments on process template syntax, Ricardo Wurmus, 2020/02/05
- Re: Comments on process template syntax, zimoun, 2020/02/06
Re: Comments on process template syntax, zimoun, 2020/02/05
Re: Comments on process template syntax, zimoun, 2020/02/05