No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Arnett 2578342d50 Take 2
2021-09-29 10:58:53 -04:00
lib Take 2 2021-09-29 10:58:53 -04:00
test Take 2 2021-09-29 10:58:53 -04:00
.formatter.exs Initial commit 2021-09-29 10:58:53 -04:00
.gitignore Initial commit 2021-09-29 10:58:53 -04:00
LICENSE Initial commit 2021-09-29 10:58:53 -04:00
mix.exs Initial commit 2021-09-29 10:58:53 -04:00
README.md Initial commit 2021-09-29 10:58:53 -04:00

Tacit

A library to facilitate "tacit" or "point-free" programming.

For instance, a traditional, pointed function might read:

def foo(arg), do: arg |> String.split() |> Enum.reverse()

Here, the usage of the point arg is just noise, and adds little to the implementation. Contrast this with the Tacit equivalent:

let foo = String.split() |> Enum.reverse()

The Tacit version is shorter, and contains substantially less syntactic noise.

Installation

This library is not yet on Hex, as I'm not sure it's generally useful. However, if you want to pull this library into your project, you can update the deps function in your mix.exs with the following:

def deps do
  [
    {:tacit, github: "J3RN/tacit"}
  ]
end