[Top][All Lists]

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

Re: Comments on process template syntax

From: Ricardo Wurmus
Subject: Re: Comments on process template syntax
Date: Wed, 05 Feb 2020 22:32:53 +0100
User-agent: mu4e 1.2.0; emacs 26.3

zimoun <address@hidden> writes:

>> In the Python case the “:” serves no real purpose as far as I can tell.
> Hum? The colon ':' serves as separator used by the parser, AFAIU.
> I mean the colon ':' is part of the Python grammar.

Yeah, I just mean that it’s “noise”.  It doesn’t represent anything
(unlike the $ in Haskell).

> Aside, the 'process' macro should be renamed as Kyle mentioned it.
> Because it is confusing, IMHO.

Yes, I’m considering a rename, but I’m not sure which is the best
option.  We could either have (1) “define-process” (for value +
definition) and “process” (for just the value), or we could have (2)
“process” (for value + definition) and “make-process” (for just the

I’m torn on this because option 1 seems correct, but option 2 results in
less boilerplate as users need to bind processes to variables in order
to reference them in a workflow definition.

I’ll likely go with option 2.

We only need to decide whether the “process” macro (for value +
definition) should also be available by default in Scheme workflows or
if it should only be enabled by default in Wisp workflows.


reply via email to

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