Restructure pipeable/module implementations for all adts. #12
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
Currently, the Type Class instances contain the canonical implementation of their associated functions. ie (for option.ts):
Currently, the deno docs tool doesn't like the typing on
export const
constructs, let alone the destructured export consts. Thus, this issue if meant to track migrating the canonical map, ap, of, etc implementations toexport function
s like so:This should allow us to pick up at least the type information in the automatic doc generation. Incidentally, this will make the types on the pipeable exports look nicer too. The downside is that the types for each function export must be declared manually for every function (as opposed to inferred from the eg
TC.Functor<URI>
type.)The text was updated successfully, but these errors were encountered: