May 2017
Intermediate to advanced
340 pages
8h 16m
English
Tarsana is an open source library written by Amine Ben Hammou and is available on GitHub for download. It is inspired from Ramda JS, a functional programming library for JavaScript. It does not have any dependencies and has more than 100 predefined functions to use for different purposes. Functions in FP are spread over different modules and there are several modules such as functions, list, object, string, math, operators, and common. Tarsana can be downloaded from GitHub (https://github.com/Tarsana/functional) or can be installed via composer.
composer require Tarsana/functional
Once the library is downloaded, we have to use it by importing the Tarsana\Functional namespace, just like the following code:
use ...
Read now
Unlock full access