FSharp.Interop.NullOptAble


Operators

Namespace: FSharp.Interop.NullOptAble

Description

Optional Operators that you can use for defaults, bindings and mapping. See examples for usage.

Functions and values

Function or valueDescription
( ?<| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind operator pointing left

Parameters

  • b - parameter of type 'a -> 'b option or 'b Nullable or 'b:null
  • a - parameter of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'b option

CompiledName: op_QmarkLessBar

( ?<|| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind2 operator pointing left

Parameters

  • b - parameter of type 'a -> 'b -> 'c option or 'c Nullable or 'c:null
  • a - tuple2 of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'c option

CompiledName: op_QmarkLessBarBar

( ?<||| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind3 operator pointing right

Parameters

  • b - parameter of type 'a -> 'b -> 'c -> 'd option or 'd Nullable or 'd:null
  • a - tuple3 of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'd option

CompiledName: op_QmarkLessBarBarBar

( @?<| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map operator pointing left

Parameters

  • b - parameter of type 'a -> 'b
  • a - parameter of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'b option

CompiledName: op_AtQmarkLessBar

( @?<|| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map2 operator pointing left

Parameters

  • b - parameter of type 'a -> 'b -> 'c
  • a - tuple2 of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'c option

CompiledName: op_AtQmarkLessBarBar

( @?<||| ) b a
Signature: b:^a -> a:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map3 operator pointing left

Parameters

  • b - parameter of type 'a -> 'b -> 'c ->'d
  • a - tuple3 of type 'a option or 'a Nullable or 'a : null

Output Type

  • 'd option

CompiledName: op_AtQmarkLessBarBarBar

( |?-> ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded defaultWith operator

Parameters

  • a - parameter of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a Lazy

Output Type

  • 'a

CompiledName: op_BarQmarkMinusGreater

( |||>? ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind3 operator pointing right

Parameters

  • a - tuple3 of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b -> 'c -> 'd option or 'd Nullable or 'd:null

Output Type

  • 'd option

CompiledName: op_BarBarBarGreaterQmark

( |||>?@ ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map3 operator pointing right

Parameters

  • a - tuple3 of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b -> 'c ->'d

Output Type

  • 'd option

CompiledName: op_BarBarBarGreaterQmarkAt

( ||>? ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind2 operator pointing right

Parameters

  • a - tuple2 of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b -> 'c option or 'c Nullable or 'c:null

Output Type

  • 'c option

CompiledName: op_BarBarGreaterQmark

( ||>?@ ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map2 operator pointing right

Parameters

  • a - tuple2 of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b -> 'c

Output Type

  • 'c option

CompiledName: op_BarBarGreaterQmarkAt

( |>? ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded bind operator pointing right

Parameters

  • a - parameter of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b option or 'b Nullable or 'b:null Output Type
  • 'b option

CompiledName: op_BarGreaterQmark

( |>?@ ) a b
Signature: a:^a -> b:^b -> ^c
Type parameters: ^a, ^b, ^c

Description

Overloaded map operator pointing right

Parameters

  • a - parameter of type 'a option or 'a Nullable or 'a : null
  • b - parameter of type 'a -> 'b

Output Type

  • 'b option

CompiledName: op_BarGreaterQmarkAt

Fork me on GitHub