/*quackbaker*/ var interfaces = Point: x: 'Number' y: 'Number' ; var mixins = Point: { pointx = pointy = 0; } { return x: pointx * pointx y: pointy * pointy ; } { return x: pointx + value y: pointy + value ; } ; var bakery = interfaces mixins ;var Point = bakeryPoint;var p = x: 5 y: 2 ; console; // { x: 25, y: 4 }console; // { x: 5.5, y: 2.5 } var empty = ; console; // { x: 0, y: 0 }
quackbaker
0.1.0 • Public • PublishedDependents (0)
Package Sidebar
Install
npm i quackbaker
Repository
Weekly Downloads
0
Version
0.1.0
License
MIT