domain-specific-anguish

0.0.0 • Public • Published

domain-specific-anguish Build Status

A DSL for making cute partially-applied DSLs.

Use

var anguish = require('domain-specific-anguish');
 
// let's make a fancy add function
var add = anguish(function after_ONE_TWO_and_also_THREE (one, two, three) {
  return one + two + three;
});
 
add(1, 2).and.also(3);
// returns 6

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i domain-specific-anguish

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • btford