Jason Kuhrt

Results 363 comments of Jason Kuhrt

Realized an advanced type refinement feature we could have. But save for a future issue. ```ts const Shape = Alge.data('Shape') .record('Circle', { color: z.string().optional(), radius: z.number() }) .record('Square', { color:...

Also mention that extensions are available to decoder context.

I'm having this issue. Was working. Noticed today the problem. Not sure what changed.

Oh maybe not... https://github.com/remeda/remeda/issues/42

Not sure why this library would hold back though, now I just end up using lodash and remeda in my project :)

Here's a motivation for why Remeda should encompass this scope: ```ts export const upperFirst = (s: S): Capitalize => { // eslint-disable-next-line return (s.charAt(0).toUpperCase() + s.slice(1)) as any } ```...

That doesn't work with autoimport today. There's some unstable work out there experimenting with namespaced auto-imports but its not ready for prime time. I try to avoid typing imports manually,...

@TkDodo yep > would treeshaking still work with that approach? I'm actually curious about that: 1. What does the spec make possible 2. What do tools support today 3. What...

Hey @weaky, nice work so far! Have you explored the idea of combinators? It has some similarities to chaining but more general and higher degrees of composition. Here's a sketch...

> A key point here is that the combinators would be working on an underlying immutable AST, building it up incrementally. Put simply, the combinators are just sugar saving the...