elista
v1.3.0
Published
Elixir-like bind `::` expression lists
Downloads
5
Readme
Elista
bindable functions for the es7 ::
operator.
npm install babel-plugin-transform-function-bind
add this your .babelrc
:
{
"plugins": ["transform-function-bind"]
}
Documentation
Usage
import {List, Empty, Maybe, Task} from 'elista'
DB.find({name: "Tony Stark"}).run()
::Either(List.prop::binding('name'), handleEmpty)
::List.head()
::Task( function () {
console.log(this) // Tony Stark
})