library fantasy-land
Specification for interoperability of common algebraic structures in PHP
functional-php/fantasy-land
Specification for interoperability of common algebraic structures in PHP
- Sunday, February 18, 2018
- by widmogrod
- Repository
- 3 Watchers
- 11 Stars
- 1,106 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 6 Versions
- 196 % Grown
FantasyLand
Introduction
This project specifies interoperability of common algebraic structures in PHP.
The inspiration for this package is the fantastic fantasyland project [A]
., (*1)
The repository contains the following algebraic structures:
- Setoid
- Semigroup
- Monoid
- Functor
- Apply
- Applicative
- Foldable
- Traversable
- Chain
- Monad
- Pointed, (*2)
Each of those algebraic structures must obey some laws.
In order to simplify their verification, the project provides encapsulated property tests.
They can be used to easily verify the correctness of newly implemented structures., (*3)
You can find exemples on how to use those tests in the directory of examples, (*4)
Installation
composer require functional-php/fantasy-land:^1
Projects that are using FantasyLand
References
- [A] https://github.com/fantasyland/fantasy-land
dev-master
9999999-dev
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
dev-widmogrod-patch-1
dev-widmogrod-patch-1
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
1.0.0
1.0.0.0
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
dev-feature/contribution-guidelines
dev-feature/contribution-guidelines
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
dev-feature/readme
dev-feature/readme
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
dev-feature/helpful-useful
dev-feature/helpful-useful
Specification for interoperability of common algebraic structures in PHP
Sources
Download
BSD-3-Clause
The Requires
The Development Requires