Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Load method #1

Closed
toburger opened this issue Apr 28, 2015 · 1 comment
Closed

Add a Load method #1

toburger opened this issue Apr 28, 2015 · 1 comment

Comments

@toburger
Copy link

Like Reference and Open you should also add a Load method, to load scripts interactively.

fsiSession.EvalInteraction("#load \"MyScript.fsx\"")

becomes

fsiSession.Load("MyScript.fsx")
@matthid
Copy link
Owner

matthid commented Apr 28, 2015

Good point!
EvalScript actually falls back to that (https://github.com/fsharp/FSharp.Compiler.Service/blob/master/src/fsharp/fsi/fsi.fs#L2119). But having Load as well definitely makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants