You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added fromList, fromArray, and reverse to NonEmpty, which consequently adds them to NonEmpty.List and NonEmpty.Array
Added errorNel and errorNea to Validation to lift a single error into a VError containing a Nel/Nea
Added Relude_Free_Applicative module
Free applicatives are useful for encoding things like descriptions of data (e.g. schemas), and interpreting these structures into different types of "operational" applicatives. For example, you can define a "schema" for data types using the FreeAp structure, then interpret these schemas into JSON encoders and parsers, help printers, etc. More examples possibly to follow in another relude library.
See test for basic usage (not terribly compelling, but just proving the concept)
🚨 Breaking
Renamed Relude_Interface.ARROW and ARROW_F to FUNCTION_1 and FUNCTION_1_F
Moved Bifunctor and Bifoldable modules outside the WithError functor for Result (they didn't need to be inside the WithError context)