I suggest we ...

Compiler integrated assembly imports from inside .fs files

Would it be possible to integrate things like package management into the F# compiler without tying it directly to NuGet using something similar in concept to type providers, but for importing assemblies from (potentially) remote locations? I would imagine the usage of some specific examples of assembly providers might look something like:

open Github<"fsharp/fsharpx","1.2.3beta">

or

open NuGet<"fsharpx","1.2.3">

The compiler would be agnostic to any specific platform, such as NuGet, but would provide an API, much like for type providers, to provide assemblies.

3 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Daniel Bradley shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

F# Language

Feedback and Knowledge Base