Re: First comments Adam Nelson 09 Jun 2020 17:16 UTC

On 6/9/20 1:03 PM, Arne Babenhauserheide wrote:

> Marc Nieper-Wißkirchen <xxxxxx@nieper-wisskirchen.de> writes:
>
>> Am Di., 9. Juni 2020 um 18:15 Uhr schrieb Adam Nelson <xxxxxx@nels.onl>:
>>
>>> Using `(values ...)` as the initial argument seems like the best
>>> approach to this.
>> Ah, yes, of course. So the first argument to the macros is not the
>> initial value but an expression that is being evaluated and the values
>> resulting from this evaluation are then fed into the
>> thread/pipeline/sequence/chain/bind/whatever.
> Would this seem too far out of place?
>
> (chain (floor/ 5 2)
>         (- <2> <1>))
>
> Best wishes,
> Arne
This is infeasible in Scheme because of macro hygiene, unless only a
limited number of arguments were supported. I don't think there is any
way to reorder the arguments while keeping the `cut` syntax.