FSharpx.Extras


#r @"../bin/FSharpx.Extras.dll"
#r @"../bin/FSharpx.Collections.dll"

open FSharpx

// Sample monoid implementation
let addition = Monoid.sum()

// Using monoids computation expression capabilities
let x : float =
    addition {
        yield 1.0
        yield 5.0
        yield 6.0
    }

// Getting the zero
let zero : float =
    addition {
        ()
    }
namespace FSharpx
val addition: (obj -> float)
val x: float
Multiple items
val float: value: 'T -> float (requires member op_Explicit)

--------------------
type float = System.Double

--------------------
type float<'Measure> = float
val zero: float