3 ms·
Interesting! I knew F#, C#, and Elixir supported this scenario, but good to know Deno has this as well :)
by cglong 4y ago
Interesting! I knew F#, C#, and Elixir supported this scenario, but good to know Deno has this as well :)
- IshKebab 4y agoDo F# and C# really support it? How do you specify dependencies from within the script?
- cglong 4y agoYeah! F# has native support[1] and C# can do it with a third-party tool[2]. For both, the syntax for referencing a third-party NuGet package inside the script is e.g.: #r "nuget: Newtonsoft.Json" [1]: https://learn.microsoft.com/en-us/dotnet/fsharp/tools/fsharp-interactive/#scripting-with-f https://learn.microsoft.com/en-us/dotnet/fsharp/tools/fsharp... [2]: https://github.com/dotnet-script/dotnet-script https://github.com/dotnet-script/dotnet-script
- IshKebab 4y agoVery interesting, thanks for the info!