Open michelrandahl opened 7 years ago
@michelrandahl Of the list above, I think the following are of most immediate interest, and I believe we would accept good PRs for them after RFC, testing etc.:
#t :type <expr> Check the type of an expression
#! <command> Run a shell command
#color :colour <option> Turn REPL colours on or off; set a specific colour
#consolewidth auto|infinite|<number>Set the width of the console
Also things that represent existing F# compiler options e.g.
#define ident
The features to search the APIs etc. feel less compelling to me since F# is almost always used with some kind of assisted editor tooling, which implement such features, and there feels like a potential for a fairly substantial bug trail for the above. But that's just my feeling.
#! <command> Run a shell command
^ this would be so useful
@cloudRoutine It's certainly approved to proceed to an RFC and PR for these
More repl features
I propose we give fsharp-interactive some love by adding some more features to it.
In particular, I would love to be able to list all functions in a namespace/module, print function definitions, print docs and search for functions by type.
For reference this is what you can do in the Idris repl:
Searching by type:
Printing functions definitions:
Printing docs:
Browse a namespace:
Pros and Cons
I think this would greatly improve the developer-user-experience across all platforms.