[This is preliminary documentation and is subject to change.]
Execute fun for every nested term
Namespace: NFX.ErlangAssembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
public static TAccumulate Visit<TAccumulate>(
this IErlObject o,
TAccumulate acc,
Func<TAccumulate, IErlObject, TAccumulate> fun
)
public static TAccumulate Visit<TAccumulate>(
this IErlObject o,
TAccumulate acc,
Func<TAccumulate, IErlObject, TAccumulate> fun
)
<ExtensionAttribute>
Public Shared Function Visit(Of TAccumulate) (
o As IErlObject,
acc As TAccumulate,
fun As Func(Of TAccumulate, IErlObject, TAccumulate)
) As TAccumulate
<ExtensionAttribute>
Public Shared Function Visit(Of TAccumulate) (
o As IErlObject,
acc As TAccumulate,
fun As Func(Of TAccumulate, IErlObject, TAccumulate)
) As TAccumulate
public:
[ExtensionAttribute]
generic<typename TAccumulate>
static TAccumulate Visit(
IErlObject^ o,
TAccumulate acc,
Func<TAccumulate, IErlObject^, TAccumulate>^ fun
)
public:
[ExtensionAttribute]
generic<typename TAccumulate>
static TAccumulate Visit(
IErlObject^ o,
TAccumulate acc,
Func<TAccumulate, IErlObject^, TAccumulate>^ fun
)
static member Visit :
o : IErlObject *
acc : 'TAccumulate *
fun : Func<'TAccumulate, IErlObject, 'TAccumulate> -> 'TAccumulate
static member Visit :
o : IErlObject *
acc : 'TAccumulate *
fun : Func<'TAccumulate, IErlObject, 'TAccumulate> -> 'TAccumulate
- TAccumulate
Return Value
Type:
TAccumulateUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IErlObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).