We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e71844 commit 7346c07Copy full SHA for 7346c07
src/FSharpPlus/Data/Seq.fs
@@ -246,7 +246,8 @@ module SeqT_V2 =
246
| _ -> () } }
247
248
/// Transforms a regular sequence into a SeqT, driven by the return type.
249
- let inline hoist (source: seq<'T>) : SeqT<'``Monad<bool>``, 'T> = wrap (result source: '``Monad<seq<'T>>``)
+ /// An alias of `ofSeq`.
250
+ let inline hoist (source: seq<'T>) : SeqT<'``Monad<bool>``, 'T> = ofSeq source
251
252
[<EditorBrowsable(EditorBrowsableState.Never)>]
253
let inline runThen<'T, .. > (f: ResizeArray<'T> -> 'R) (source: SeqT<'``Monad<bool>``, 'T>) : '``Monad<'R>`` =
0 commit comments