News for hackers. Stuff that matters.
Re:Verified Programming in F*: A Tutorial by jen20 on Monday January 04, 2021 @11:56AM (#25634027)
The only difference between F# and C# with respect to the notion of a "type which represents a string of length 15" is the amount of code to do it - as described by Scott Wlaschin [1]. You could do the equivalent in C# too. I don't know if this is also the case in Ocaml, though.

[1]: https://fsharpforfunandprofit.com/posts/designing-with-types...

There are no comments on this comment yet.