JFP 2.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package JFP --version 2.5.0                
NuGet\Install-Package JFP -Version 2.5.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JFP" Version="2.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JFP --version 2.5.0                
#r "nuget: JFP, 2.5.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install JFP as a Cake Addin
#addin nuget:?package=JFP&version=2.5.0

// Install JFP as a Cake Tool
#tool nuget:?package=JFP&version=2.5.0                

A language as a library borrowing concepts from Lisp and Haskell. JFP contains functions which allow for gentle adoption of functional programming ideas for developers who are new to the functional paradigm. JFP embraces the dynamic nature of Javascript while supporting safe data typing.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.2.2 1,221 6/20/2016
2.7.0 1,362 2/2/2016
2.6.0 1,016 1/21/2016
2.5.0 1,131 11/18/2015
2.4.0 1,087 11/4/2015
2.2.1 1,110 9/1/2015
1.2.0 1,950 2/23/2015
1.1.4 1,496 2/22/2015

- isTuple - predicate testing on if array is a tuple of n length &lt;int&gt;, &lt;array&gt; -&gt; &lt;boolean&gt;
- isPair - special case isTuple representable by j('isTuple', 2) -- intentionally does NOT conform to scheme's pair? predicate
- isSingle - special case isTuple representable by j('isTuple', 1)
- isTriple - special case isTuple representable by j('isTuple', 3)
- transform - transforms an object into a new object through an array of pairs-based transform definitions -- This ignores all non-pair values
- getKeys - returns array of object keys returns empty array if value is not an object or if object has no keys
- hasFirst - checks if array contains a first element, always returns false on non-array values
- always - returns a function which always returns the same value -- similar to j.partial(j.identity, value)
- empty - accepts type string, returns initialized, empty value of type specified by type string, with no string, empty returns null
- isMultipleOf - verifies value is multiple of a number
- composePredicate - takes a list of predicate functions and applies them to a value, returning a boolean, optional combinator allows for and/or combination behavior selection; default behavior is "and"
- Assorted updates and enhancements
   - Updated shortCircuit to act on an typeString
   - Updated merge function to reduce verbosity and improve stability
   - Added AMD/RequireJS module support