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.
elm install jamesrweb/elm-combinators
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)
npx elm-format . --yes
npx elm-review .