16:08
<ljharb>
that seems like precisely a proposal for releasing z̲̗̼͙̥͚͛͑̏a̦̟̳͋̄̅ͬ̌͒͟ļ̟̉͌ͪ͌̃̚g͔͇̯̜ͬ̒́o̢̹ͧͥͪͬ
16:09
<ljharb>
it's been a pretty consistent design principle that a thing should always or never return a promise, which is why throwing in the default argument position in an async function produces a rejected Promise
16:10
<nicolo-ribaudo>
I think with that proposal fn.async() would always return a promise, and fn.sync() would never return a promise
16:57
<ljharb>
oh maybe i misunderstood, it produces "not a function", but an object with two functions on it?
18:33
<bakkot>
yeah
18:34
<bakkot>
one which always returns a promise, one which never does (unless you go out of your way to return a promise explicitly, I guess)
19:07
<TabAtkins>
I've been dogfooding my TypeScript support for pipeline operator at https://github.com/Pokute/AoC2021/blob/main/4.ts . It's starting to feel crucial for me. Lacking tacit function application (|>>) would be an inconvenience, but the other way around, I would have so many IIAFEs.
Could you elaborate, perhaps in the Pipeline Champions room?
19:08
<TabAtkins>
Oh I see, you're saying that the current proposal (Hack, not F#) is slightly inconvienent, but if we'd gone the other way (F#, not Hack) you'd have a ton of IIAFEs which would be even worse.
21:41
<pokute>
Exactly. I love how easy it's write |>> func instead of |> func(#). If I had only F#-style then I would have to write a lot of stuff in completely different ways.
21:44
<pokute>
TabAtkins: Is the Pipeline Champions room public?
21:44
<TabAtkins>
yup
21:46
<pokute>
Can't find it, tried multiple different search terms.
22:13
<TabAtkins>
Ah it looks like one has to give their room a name for it be found by searching. @pokute does #tc39-pipeline:matrix.org work now?
22:24
<bakkot>
TabAtkins: if you intend it to be public you might also want to give it public history
22:24
<bakkot>
if you do that my logbot will pick it up
22:26
<TabAtkins>
done
22:32
<bakkot>
doesn't look done to me
22:34
<TabAtkins>
all history is public from here onward; i haven't turned on previous history. does your bot require that for some reason?
22:51
<bakkot>
no, history is public to members, also not as "not public"
22:52
<bakkot>
it's impossible to turn on previous history, afaik; putting it to "anyone" (at least according to the docs) will only make history visible from that point forward
22:52
<bakkot>

Changes to who can read history will only apply to future messages in this room. The visibility of existing history will be unchanged.

22:54
<bakkot>
the bot only generates logs for rooms with history visibility set to "Anyone", since the effect of the bot is that it publishes public logs, which I only want to do if you sign up for making history public
22:58
<pokute>
Ah it looks like one has to give their room a name for it be found by searching. @pokute does #tc39-pipeline:matrix.org work now?
That direct link works, but I still couldn't find it with search.
22:58
<TabAtkins>
well i have no idea how the search works, so i guess that'll have to be sufficient