UNPKG

crocks

Version:

A collection of well known Algebraic Datatypes for your utter enjoyment.

12 lines (8 loc) 247 B
/** @license ISC License (c) copyright 2016 original and current authors */ /** @author Ian Hofmann-Hicks (evil) */ var Pair = require('../core/Pair') // branch : a -> Pair a a function branch(x) { return Pair(x, x) } module.exports = branch