patriksvensson / dotnet-example

A dotnet tool to list and run examples
MIT License
170 stars 15 forks source link

support for individual .fsx files for F# inside sample folders #16

Open jkone27 opened 9 months ago

jkone27 commented 9 months ago

for F# examples might be useful to have invidividual .fsx scripts as they are more compact than full fsproj, would it be possible to support it? for example

#r "nuget: FSharp.Data"
open FSharp.Data

type SomeJson = JsonProvider<"""{ "Hello" : "json"}""">
let myJsonSample = SomeJson.LoadSample()