Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Computational Types in C# and F#.
type FullName = FullName of string
with member x.Value = match x with FullName x -> x
Edit: Also, phantom types may be of interest. Here's an example in F#: http://stackoverflow.com/questions/3583679/implementing-phan...
There are no comments on this comment yet.
Edit: Also, phantom types may be of interest. Here's an example in F#: http://stackoverflow.com/questions/3583679/implementing-phan...