-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Example:
let mutFunc ctor =
(ctor ()) <|> fun cont (_: unit) -> gen {
let res = cont ()
return { value = res; state = cont }
}
let increment seed =
fun () ->
let mutable x = seed
let f () =
x <- x + 1
x
f
|> mutFunc
Gen.toSeq id (increment 3) |> Seq.toListN 10Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels