FSharp.Interop.Compose Extensions
inlined composable fsharp functions around BCL static methods. Supports .net 3.5 through .net Standard
Examples
FSharp.Interop.Compose.Linq.Enumerable
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: |
|
FSharp.Interop.Compose.System.String
1: 2: 3: 4: |
|
API
See api-docs for wrapper functions
Use
To use precompiled dll, add with nuget
1:
|
|
Contribute
The generate
target of the F# make file Make.fsx provides a mechansim to identify static base class libraries and alter their parameter order and write out the module on a per class basis.
The tool/Generate.fsx script provides the generalized api for generating those wrappers.
Note: inline non-mutating instance method
FSUnit xUnit tests can be added in .fsx
files in the test directory.
Build
1:
|
|
1:
|
|