Compare commits
3 Commits
673a96ffb8
...
4a1e509fc4
Author | SHA1 | Date | |
---|---|---|---|
|
4a1e509fc4 | ||
|
aef33279ca | ||
|
1b361971bc |
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@ludus/ludus-js-pure",
|
"name": "@ludus/ludus-js-pure",
|
||||||
"version": "0.1.0-alpha.7.9",
|
"version": "0.1.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@ludus/ludus-js-pure",
|
"name": "@ludus/ludus-js-pure",
|
||||||
"version": "0.1.0-alpha.7.9",
|
"version": "0.1.3",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"shadow-cljs": "^2.26.0",
|
"shadow-cljs": "^2.26.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@ludus/ludus-js-pure",
|
"name": "@ludus/ludus-js-pure",
|
||||||
"version": "0.1.1",
|
"version": "0.1.3",
|
||||||
"description": "A Ludus interpreter in a pure JS function.",
|
"description": "A Ludus interpreter in a pure JS function.",
|
||||||
"main": "target/js/ludus.js",
|
"main": "target/js/ludus.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
@ -8,7 +8,9 @@
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Scott Richmond",
|
"author": "Scott Richmond",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"files": ["target/js/*"],
|
"files": [
|
||||||
|
"target/js/*"
|
||||||
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"shadow-cljs": "^2.26.0",
|
"shadow-cljs": "^2.26.0",
|
||||||
"tap": "^18.6.1"
|
"tap": "^18.6.1"
|
||||||
|
|
|
@ -369,7 +369,7 @@ fn sub {
|
||||||
(x as :number) -> x
|
(x as :number) -> x
|
||||||
(x as :number, y as :number) -> base :sub (x, y)
|
(x as :number, y as :number) -> base :sub (x, y)
|
||||||
(x, y, ...zs) -> fold (base :sub, zs, base :sub (x, y))
|
(x, y, ...zs) -> fold (base :sub, zs, base :sub (x, y))
|
||||||
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (x2, y2))
|
((x1, y1), (x2, y2)) -> (base :sub (x1, x2), base :sub (y1, y2))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn mult {
|
fn mult {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user