Giulio Canti

Results 398 comments of Giulio Canti

I think there might be an issue actually, checking the code if you use `pattern` any filters preceding it are ignored. This is because `pattern` sets a custom hook for...

@steffanek it's a separate issue, it appears to be a limitation upstream in `stringMatching` https://github.com/dubzzz/fast-check/pull/3925

Hi @kalda341, sorry for the late answer, I'm still working on the core of `/schema`, I'll be thinking to this topic as soon as the project will be more fleshed...

This is a good idea, maybe a "How to..." section in the GUIDE.md file. Any help is appreciated! > any reason this is gone ? Was it too much to...

Relevant https://github.com/gcanti/tcomb-validation/issues/61#issuecomment-307301841

`docs/examples` is a temporary folder used by `docs-ts` to run all the examples (which are supposed to be valid, including the necessary imports). If there are no errors, it will...

@baetheus thanks for sharing. I was discussing this kind of tuple-based encoding with @mikearnaldi a couple of days ago, my main drive being to come up with something that would...

@sledorze thanks for the link > you want to make it faster? Not exactly, currently `io-ts` looks fast "enough", I just wanted to do some benchmarks in order to get...

@sledorze 1. what you mean by "flatten chain"? 2. about `_loop_`s, looks like the culprit is `validation.fold`, working on a PR that removes them

> Why is the fold forcing the compiler to create such a closure? @sledorze I guess to prevent bug like this https://stackoverflow.com/questions/750486/javascript-closure-inside-loops-simple-practical-example i.e. in the presence of a `let k`...