Dan Rose
Dan Rose
> I'm fairly confident the bottom line here is that it's too late to make a breaking change that would affect a very large fraction of usage of this API...
> But checking the result of exec was the second thing I mentioned; the former (specifying any of those components) is almost surely the more frequent of the two. As...
> Why is it allowed to have `hello:!` (and `hello:','`) even if module `hello` isn't imported? Is it a quirk of Scryer's module system or is it an expected behavior?...
@UWN, your :-1: is not constructive. Please correct any factual errors or misconstruals so we can all learn together.
I may have buried the lede a little. In ISO Modules, there's nothing about `m:!` that requires module `m` to exist. `!` is a control construct so it does not...
I think you can do this, but not with the fluent `.args()` method. The underlying reason seems to be that `.args()` [always appends rest unknown](https://github.com/colinhacks/zod/commit/55730928eca8f4384fe710dd17e38cb1b90b1fa5) (@colinhacks, why?) ``` import {...
> a function in JavaScript will accept more arguments regardless of the shape. Irrelevant. Typescript allows you to constrain the arguments and it rejects additional arguments by default. > it'd...
> Ergonomics is relative. This library optimizes for the use case where you already know what to expect in query and you “just want some regular JS types”. It was...
I think it's probably not compliant to change that parsing syntax. BUT I think it's fixable by defining an infix operator `e` :-p.
Absolutely bonkers that there isn't a better way in JS, but I think that's the cleanest fix. Another possibility is to use `DataView` and transfer as binary or extract the...