Fungible


FieldAction

Namespace: Fungible
Parent Module: Core

A wrapper to annotate transform expressions with the kind of transform they are

Union Cases

Union CaseDescription
Add(Expr)
Signature: Expr

Adds to the current collection, input function is unit -> 'a [] for a '[]

Collect(Expr)
Signature: Expr

Collect up elements, input function is 'a -> 'a [] for a' []

Default(Expr)
Signature: Expr

Default (if none or empty), input function is unit -> 'a [] for a '[]

Filter(Expr)
Signature: Expr

Filter out elements, input function is 'a -> bool for a' []

Function(Expr)
Signature: Expr

Transform at the value level, input function is 'a [] -> 'a [] for a '[] (same as map for single values)

Map(Expr)
Signature: Expr

Map over the elements, input function is 'a -> 'a for a' []

Instance members

Instance memberDescription
MapExpr(f)
Signature: (f:(Expr -> Expr)) -> FieldAction

Applies the contents of this FieldAction to the given Expr generating function

Static members

Static memberDescription
AllActions()
Signature: unit -> UnionCaseInfo []

All Union Cases

Fork me on GitHub