Skip to content

techno-tanoC/func

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Func

Functions inspired by haskell and ruby(activesupport).

The documentation is here

Installation

def deps do
  [{:func, "~> 0.3.0"}]
end

Usage

use Func or import the respective module.

use Func

# or

import Func.{Function, Maybe}

Func.Function

Examples

{:ok, pid} = Agent.start_link(always(1))
Agent.get(pid, id()) #=> 1