/elm-combinators

A combinatory logic library for ELM.

Primary LanguageElmBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

ELM Combinators

An elm combinatory logic library.

Each combinator represents a function composition pattern and each is implemented, as far as is possible, using SKI combinator calculus under the hood.

Installation

elm install jamesrweb/elm-combinators

Usage

To import all combinators, add the following at the top of your file:

import Combinators exposing (..)

You can also just import specific combinators such as the K and P combinators for example:

import Combinators exposing (k, p)

Development

Formatting

npx elm-format . --yes

Linting

npx elm-review .