Effect CommunityEC
Effect Community2y ago
30 replies
spaethnl

Proposing Namespaces for Schema Combinators to Enhance Clarity and Discoverability

There are a number of notes in the schema Readme that point out the distinction between combinators that change the schema and those that don't (specifically trim vs trimmed). I think it might help avoid the confusion and aid in discoverability if the distinction were under some namespace. E.g., I could type S.transforms. and be able to easily explore auto-completes of built-in transform combinators, or e.g., S.filters., while also knowing for sure which one does which.
Was this page helpful?