-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Currently, the REPL interface only shows the names of constructors for data/newtype declarations like so:
Tuple
tuples Data.TupleAdditive
prelude Data.Monoid.AdditiveI think this can be improved by adding data constructor and newtype constructor prefixes. I'm also currently trying to integrate docs-search into Emacs and having prefixes like this would make it easier to write, considering the output format itself is already easy to parse given how the results are spaced.
data constructor Tuple :: a -> b -> Tuple a b
tuples Data.Tuplenewtype constructor Additive :: a -> Additive a
prelude Data.Monoid.AdditiveAny thoughts? I can try working on this later this week as well. I have a working implementation at purefunctor/purescript-docs-search@1518f71
Metadata
Metadata
Assignees
Labels
No labels