elm-lang / elm-repl

A REPL for Elm
BSD 3-Clause "New" or "Revised" License
170 stars 34 forks source link

Meta command to list current imports #112

Open bitterjug opened 8 years ago

bitterjug commented 8 years ago

:reset clears previous imports. If there were a command to list previous imports:

  1. this might be interesting to the user
  2. it might enable a repl GUI to offer interactive completions based on the current imports

Elm-oracle provides completions in an editor, when the file being edited contains a list of imports. If a list of imports were available from a repl session, guis using the repl as a back-end might offer similar completions.