Patterns
Namespace
Brahma.FSharp.OpenCL.Translator.QuotationTransformersActive patterns
Active pattern | Signature | Description | |
---|---|---|---|
# | ( |ApplicationUncurry|_| )(expr) | expr:Expr -> (Expr * Expr list) option | CompiledName: |
# | ( |GlobalVar|_| )(_arg1) | _arg1:Expr -> Var option | CompiledName: |
# | ( |HasSubExpr|_| ) |Pattern|_| expr | |Pattern|_|:(Expr -> Option<'a>) -> expr:Expr -> 'a option | CompiledName: |
# | ( |HasValueAsSubExpr|_| )(expr) | expr:Expr -> (obj * Type) option | An active pattern to recognize any value expression which is an arbitrary depth subterm of the expression CompiledName: |
# | ( |LetFuncUncurry|_| )(expr) | expr:Expr -> (Var * Var list * Expr * Expr) option | let f x1 x2 x3 = body in e => LetFuncUncurry(f, [x1; x2, x3], body, e) CompiledName: |
# | ( |LetFunc|_| )(expr) | expr:Expr -> (Var * Expr * Expr) option | CompiledName: |
# | ( |LetVar|_| )(expr) | expr:Expr -> (Var * Expr * Expr) option | CompiledName: |
# | ( |NewPrintfFormat|_| )(expr) | expr:Expr -> (Type list * string) option | An active pattern to recognize lambda expression, that obtained from printf/printfn function. Example: printf "%d %f" -> ([Int, Float], "%d %f") CompiledName: |
# | ( |PartialPrintf|_| )(expr) | expr:Expr -> (Type list * string * Expr list) option | CompiledName: |
# | ( |Printf|_| )(expr) | expr:Expr -> (Type list * string * Expr list) option | CompiledName: |
# | ( |ValidVolatileArg|_| )(_arg1) | _arg1:Expr -> Var option | CompiledName: |
e0 e1 e2 e3 => (e0, [e1; e2; e3])