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

Plan for F# bug and testing #540

Closed
2 tasks
dsyme opened this issue Jul 16, 2018 · 7 comments
Closed
2 tasks

Plan for F# bug and testing #540

dsyme opened this issue Jul 16, 2018 · 7 comments
Labels
F# Support of F# language

Comments

@dsyme
Copy link
Contributor

dsyme commented Jul 16, 2018

I've been asked to fix some issues related to F# in this repo, especially #180. This is a planning note regarding this work.

TODO:

When futher API updates and re-designs are made it is up to the person doing the re-design to adjust these tests :) Ask for help if you need it, but the F# code will be simple and I'm sure all contributors are capable of adjusting trivial F# code, F# is dead simple to learn.

Then, when this bug is fixed, a test will be added to both tests\FSharpScripting\SmokeTest and tests\FSharpProjects\SmokeTest.

Separately I will propose updates for documentation for F#, and we can later look at more comprehensive documentation, samples and testing.

@dsyme dsyme changed the title Plan for F# bugs and testing Plan for F# bug and testing Jul 16, 2018
@dsyme
Copy link
Contributor Author

dsyme commented Jul 16, 2018

Please Label with "F#", thanks

@dsyme
Copy link
Contributor Author

dsyme commented Jul 17, 2018

@eerhardt @asthana86 ok with this plan?

@asthana86
Copy link
Contributor

LGTM

Adding @TomFinley and @shauheen

@eerhardt eerhardt added the F# Support of F# language label Jul 17, 2018
@eerhardt
Copy link
Member

Thanks, @dsyme. A few questions:

  1. For my knowledge, why the dependency on .NET Framework for F# scripting? Does this not work on .NET Core?
  2. You said the plan was to add the 2 test projects. And then later, "when this bug is fixed, a test will be added to both projects." What will the test projects contain before that bug is fixed?

@cartermp
Copy link

@eerhardt We are beginning work for F# Interactive (FSI) to properly support .NET Core right now. It basically works today, as the fundamentals of FSI - pass F# code, compile, and evaluate it - has no issues with .NET Core. However, there are issues with how references are brought in, and it lacks the ability to specify a package, which is necessary for a decent scripting experience.

@dsyme
Copy link
Contributor Author

dsyme commented Jul 18, 2018

You said the plan was to add the 2 test projects. And then later, "when this bug is fixed, a test will be added to both projects." What will the test projects contain before that bug is fixed?

The bug is with F# records - @isaacabraham has tests that avoid using this feature, so initially the tests will contain those

@dsyme
Copy link
Contributor Author

dsyme commented Jul 31, 2018

I've submitted #600 and #616 (the latter WIP) so I will close this for now.

I decided not to submit a test for running ML.NET and F# Interactive until F# scripting for .NET Core is available, since this whole technology is very much oriented towards .NET Core. However the test in #600 can be run manually with .NET Framework F# Scripting.

@dsyme dsyme closed this as completed Jul 31, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F# Support of F# language
Projects
None yet
Development

No branches or pull requests

4 participants