SyntaxTreeExtensions.QsStatement.Fold<a> Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })]
public static a QsStatement.Fold<a> (Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement this, Microsoft.FSharp.Core.FSharpFunc<Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement,Microsoft.FSharp.Core.FSharpFunc<System.Collections.Generic.IEnumerable<a>,a>> folder);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
Microsoft.Quantum.QsCompiler.SyntaxTreeExtensions.QsStatement.Fold : (Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement -> seq<'a> -> 'a) -> 'a
Public Function QsStatement.Fold(Of a) (this As QsStatement, folder As FSharpFunc(Of QsStatement, FSharpFunc(Of IEnumerable(Of a), a))) As a

Type Parameters

a

Parameters

folder
Microsoft.FSharp.Core.FSharpFunc<QsStatement,Microsoft.FSharp.Core.FSharpFunc<IEnumerable<a>,a>>

Returns

a
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to