Purescript: PSCi re-export handling needs some work

Created on 1 May 2016  路  4Comments  路  Source: purescript/purescript

Currently re-exported values will not be autocompleted in psci. I'm not exactly sure what the behaviour here should be, I guess it should behave as if they were defined within the module the import is being attempted for.

This can probably be solved by some use of the Env from Sugar.Names, but I'm also considering doing some work so re-exports will be elaborated as values in the module's exports lists directly, as I think all round this will result in easier re-export handling.

enhancement purs repl

Most helpful comment

PSCi is starting to have more and more in common with psc-ide and I've been wondering if it makes sense to try to combine them. Note psc-ide already does some work to figure out what to do with reexports.

Also, :load will act a lot like psc-ide once #2058 is merged.

Also, there are features in PSCi which would be useful in psc-ide: :type, :kind, :browse.

All 4 comments

PSCi is starting to have more and more in common with psc-ide and I've been wondering if it makes sense to try to combine them. Note psc-ide already does some work to figure out what to do with reexports.

Also, :load will act a lot like psc-ide once #2058 is merged.

Also, there are features in PSCi which would be useful in psc-ide: :type, :kind, :browse.

Might it make sense to postpone this for an 0.9.x release (where x > 0)?

Possibly, yeah. I'm about to dive back into the names stuff, so will see if some of the changes I have planned there make it easier thought.

Resolved by #3231

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hdgarrood picture hdgarrood  路  4Comments

hdgarrood picture hdgarrood  路  3Comments

milesfrain picture milesfrain  路  4Comments

vladciobanu picture vladciobanu  路  4Comments

garyb picture garyb  路  3Comments