Michael Arnaldi

Results 113 comments of Michael Arnaldi

> > Effect which is either sync or async depending on if the schema has or not async transforms > > Unfortunately Zod doesn't actually know ahead of time if...

> It certainly _should_ be possible for Zod's parsing engine to return a Promise only when necessary. In Zod 4 the parsing engine is getting refactored, so I'll try to...

I don't have a string preference but if the continuation approach is inefficient then two methods would be fine. Naming isn't my best quality :)

closing as it is now part of `@effect/platform`

could be an underlying feature of `Data` and an option to `S.data()`

1) it would not be an extension as the new class type would not extend the previous structurally, I can't find anything to do it at the moment but I...

A pipeable signature is: ```ts export declare const zipWith: (fb: B[], f: (a: A, b: B) => C) => (fa: A[]) => C[] ``` that will be in V3

> @mikearnaldi Could we flip and curry `fb` and `f` there, matching Haskell? I don't think there's ever a case where non-unary functions are advantageous. Inference would be seriously compromised,...

> > Inference would be seriously compromised, TypeScript is very different from Haskell and in TS non-unary functions are extremely useful. Flipping `fb` won't allow inference of `B`. > >...

@gcanti what's your thought about this? we mentioned a few times the possibility of adding a generic to `Schema` to represent the type from construction, this can be useful in...