Press CTRL+C or CMD+C to copy the selected text and close this dialog.
Tweet
3 people like it. Like the snippet!
A simple trick for defining positive infinity semantics.
1: 2: 3: 4: 5:
type Neg<'T when 'T : comparison> = NegativeInfinity | N of 'T type Pos<'T when 'T : comparison> = P of 'T | PositiveInfinity N "hello" > NegativeInfinity P 2 < PositiveInfinity