State
Namespace
Brahma.FSharp.OpenCL.TranslatorFunctions and values
Function or value | Signature | Description | |
---|---|---|---|
# | ( >>= ) x f | x:State<'?52533,'?52534> -> f:('?52534 -> State<'?52533,'?52535>) -> State<'?52533,'?52535> | CompiledName: |
# | collect(list) | list:State<'s,'a> list -> State<'s,'a list> | |
# | eval state arg2 | state:'a -> State<'a,'b> -> 'b | |
# | exec state arg2 | state:'?52524 -> State<'?52524,'?52525> -> '?52524 | |
# | get | State<'a,'a> | |
# | gets(f) | f:('a -> 'b) -> State<'a,'b> | |
# | map f s | f:('c -> 'd) -> s:State<'e,'c> -> State<'e,'d> | |
# | modify(f) | f:('a -> 'a) -> State<'a,unit> | |
# | put(newState) | newState:'?52539 -> State<'?52539,unit> | |
# | return'(x) | x:'a -> State<'b,'a> | |
# | run state arg2 | state:'?52521 -> State<'?52521,'?52522> -> '?52522 * '?52521 | |
# | using f x | f:('c -> 'd) -> x:State<'d,'e> -> State<'c,'e> |