'T CreateInt CreateFloat, . :
Cell<float>.Create 1.0 // useless type annotation to remove warning
Cell<string>.Create 1.0
, , factory , . factory , , .
, .
type Cell<'T> =
{ slot: 'T }
static member Create (x : 'T) = { slot = x }
let x = Cell.Create 123
let y = Cell.Create "testing"
x, factory Cell<>!
:
, IntCell StringCell ; Cell<int> Cell<string>. , , Cell. , , , , .
: , . IntCell StringCell , , Cell . , .