Skip to content

Instantly share code, notes, and snippets.

@v2m
Created December 18, 2013 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v2m/8030771 to your computer and use it in GitHub Desktop.
Save v2m/8030771 to your computer and use it in GitHub Desktop.
type A =
val x: string
new(x : string) =
if x = null then nullArg "x"
{x = x}
then
printfn "x=%s" x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment