Results 14 comments of Aadit M Shah

@ssssota You might not require narrowing at all. Consider using the following `find` function instead of `Array#includes`. [Playground Link](https://www.typescriptlang.org/play?target=99&jsx=0#code/C4TwDgpgBA8mwEsD2A7APAQQHxQLxQG8oBnJAWwgC4oMoBfKAHyhQFcAbdgbgCgeBjVMWBQAZghQATPFExYAFCggRJ7KlFYoA1iiQB3FABooACwCGIYWf5bqGANoBdAJTU4iVHLw4CPKP7EkACcoeUEUYSgINQoUESRRUwsrG2dCPwDMhET5aIhYkVwilmVVCDTfTKqAoIhgViCUQhJydTyC+l5q-zoMnr6oWvrGlg5uHjpeHkkIfnYzWqhwyPNLYGtbUIAiUSQkLaYoLYAjBa3nJymZuYXoZZElFTVqHb2D5hOzw8+ALy2p+5QJDwZBNfDiKSKUpqYyrFJaZwAoQiCAAD0g-GAABVwNB8HJ5GY7K4aN4oGYptlQsCPE0AITFNicCoDNEY7G4tBEUgUF67fbfU5BA50BQ00GI1no2YcyBoV4Cj5C95HU5-BSPMqShjRYjQSoBNkynFypnsMUg1CSzJGzEmiDy-kqz7CwVmdVQp7lXi9IA) ```typescript type Option = { some: A } | null; const...

I don't think it's possible to refine the type of the `searchElement`. However, we can at least widen the type of the input. ```typescript interface Array { includes(searchElement: T extends...

Why is there no comprehensive documentation for this library? The ZIO parser home page, https://zio.dev/zio-parser/, just links to a YouTube video, https://www.youtube.com/watch?v=DEPpL9LBiyA, but video tutorials are not substitutes for proper...

Just like `Biapplicative`, we can define a generic function to traverse a `Traversable` container in a `Bialternative`. ```haskell traverseLeft :: (Traversable t, Bialternative p) => (a -> p b c)...