3 ms·
You can in F#. https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/index https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/typ...
by tigershark 9y ago
You can in F#.
https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/type-providers/index https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/typ...
- IshKebab 9y agoThat says you need a JSON schema file, which is deciding the type up front and basically how Go works too.
- lenkite 9y agoYou don't necessarily need a schema file. You can take a sample document as input for an inferred type. This is compile type meta programming https://fsharp.github.io/FSharp.Data/ https://fsharp.github.io/FSharp.Data/ https://medium.com/@maximcus/magic-of-f-type-providers-225b1169c7a0 https://medium.com/@maximcus/magic-of-f-type-providers-225b1...