rename mondo package to mondolang
This commit is contained in:
parent
4208c79c09
commit
607a6121bc
5 changed files with 8 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ more info:
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { MondoRunner } from 'mondo'
|
import { MondoRunner } from 'mondolang'
|
||||||
// define our library of functions and variables
|
// define our library of functions and variables
|
||||||
let lib = {
|
let lib = {
|
||||||
add: (a, b) => a + b,
|
add: (a, b) => a + b,
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "mondo",
|
"name": "mondolang",
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"description": "a language for functional composition that translates to js",
|
"description": "a language for functional composition that translates to js",
|
||||||
"main": "mondo.mjs",
|
"main": "mondo.mjs",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import {
|
||||||
silence,
|
silence,
|
||||||
} from '@strudel/core';
|
} from '@strudel/core';
|
||||||
import { registerLanguage } from '@strudel/transpiler';
|
import { registerLanguage } from '@strudel/transpiler';
|
||||||
import { MondoRunner } from '../mondo/mondo.mjs';
|
import { MondoRunner } from 'mondolang';
|
||||||
|
|
||||||
const tail = (friend, pat) => pat.fmap((a) => (b) => (Array.isArray(a) ? [...a, b] : [a, b])).appLeft(friend);
|
const tail = (friend, pat) => pat.fmap((a) => (b) => (Array.isArray(a) ? [...a, b] : [a, b])).appLeft(friend);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@
|
||||||
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strudel/core": "workspace:*",
|
"@strudel/core": "workspace:*",
|
||||||
"@strudel/transpiler": "workspace:*"
|
"@strudel/transpiler": "workspace:*",
|
||||||
|
"mondolang": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"mondo": "*",
|
"mondo": "*",
|
||||||
|
|
|
||||||
3
pnpm-lock.yaml
generated
3
pnpm-lock.yaml
generated
|
|
@ -364,6 +364,9 @@ importers:
|
||||||
'@strudel/transpiler':
|
'@strudel/transpiler':
|
||||||
specifier: workspace:*
|
specifier: workspace:*
|
||||||
version: link:../transpiler
|
version: link:../transpiler
|
||||||
|
mondolang:
|
||||||
|
specifier: workspace:*
|
||||||
|
version: link:../mondo
|
||||||
devDependencies:
|
devDependencies:
|
||||||
mondo:
|
mondo:
|
||||||
specifier: '*'
|
specifier: '*'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue