SyntaxTreeExtensions.TypedExpression.Fold<h> Method

Definition

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

Type Parameters

h

Parameters

folder
Microsoft.FSharp.Core.FSharpFunc<TypedExpression,Microsoft.FSharp.Core.FSharpFunc<IEnumerable<h>,h>>

Returns

h
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to