Fungible


ExprHelpers

Namespace: Fungible
Parent Module: Core

Functions and values

Function or valueDescription
application prms expr
Signature: prms:Expr -> expr:Expr -> Expr

Shortcut for Expr.Application

call meth args
Signature: meth:MethodInfo -> args:Expr list -> Expr

Shortcut for Expr.Call

coerse typ expr
Signature: typ:Type -> expr:Expr -> Expr

Shortcut for Expr.Coerce

getMethod _arg1
Signature: _arg1:Expr -> MethodInfo

Makes it easy to get a MethodInfo out of a quotation. x: let m = (getMethod <@ failwith message @>).MakeGenericMethod([|utype|])

newrec typ args
Signature: typ:Type -> args:Expr list -> Expr

Shortcut for Expr.NewRecord

X
Signature: 'T
Type parameters: 'T

Makes it easy to get a placeholder value for a type used to be used in a quotation

Fork me on GitHub