Skip to content

jamesrweb/elm-combinators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 .