pocomath/pocomath.mjs
Glen Whitney b59a8c2ca9 feat: Allow nonrecursive whole-function dependencies (#2)
And implement negate on numbers, and use dependencies to define subtract.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #2
2022-07-19 03:10:55 +00:00

9 lines
239 B
JavaScript

/* Core of pocomath: generates the default instance */
import PocomathInstance from './PocomathInstance.mjs'
import * as numbers from './number/all.mjs'
const math = new PocomathInstance('math')
math.install(numbers)
export default math