Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesrweb/elm-combinators
A combinatory logic library for ELM.
https://github.com/jamesrweb/elm-combinators
combinators-calculus combinatory-logic elm elm-package functional-compositons
Last synced: about 1 month ago
JSON representation
A combinatory logic library for ELM.
- Host: GitHub
- URL: https://github.com/jamesrweb/elm-combinators
- Owner: jamesrweb
- License: bsd-3-clause
- Created: 2022-11-20T07:48:12.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T10:27:19.000Z (9 months ago)
- Last Synced: 2025-01-11T23:55:13.673Z (about 1 month ago)
- Topics: combinators-calculus, combinatory-logic, elm, elm-package, functional-compositons
- Language: Elm
- Homepage: https://elm.dmy.fr/packages/jamesrweb/elm-combinators/latest/
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ELM Combinators
An elm [combinatory logic](https://en.wikipedia.org/wiki/Combinatory_logic) library.
Each combinator represents a [function composition pattern](https://en.wikipedia.org/wiki/Function_composition) and each is implemented, as far as is possible, using [SKI combinator calculus](https://en.wikipedia.org/wiki/SKI_combinator_calculus) under the hood.
## Installation
```sh
elm install jamesrweb/elm-combinators
```## Usage
To import all combinators, add the following at the top of your file:
```elm
import Combinators exposing (..)
```You can also just import specific combinators such as the K and P combinators for example:
```elm
import Combinators exposing (k, p)
```## Development
### Formatting
```sh
npx elm-format . --yes
```### Linting
```sh
npx elm-review .
```