|
| 1 | +{ |
| 2 | + "modules": |
| 3 | + [ |
| 4 | + { |
| 5 | + "label": "Arithmetic", |
| 6 | + "name": "arithmetic", |
| 7 | + "functions": |
| 8 | + [ |
| 9 | + { "id" : 41, "label": "+", "name" : "+", "arity" : 2, "title" : "+(term1: number, term2: number) : number" }, |
| 10 | + { "id" : 42, "label": "-", "name" : "-", "arity" : 2 }, |
| 11 | + { "id" : 43, "label": "*", "name" : "*", "arity" : 2 }, |
| 12 | + { "id" : 44, "label": "/", "name" : "/", "arity" : 2 } |
| 13 | + ] |
| 14 | + }, |
| 15 | + { |
| 16 | + "label": "Boolean Logic", |
| 17 | + "name": "boolean", |
| 18 | + "functions": |
| 19 | + [ |
| 20 | + { "id" : 31, "label": "&&", "name" : "&&", "arity" : 2 }, |
| 21 | + { "id" : 32, "label": "||", "name" : "||", "arity" : 2 }, |
| 22 | + { "id" : 33, "label": "!", "name" : "!", "arity" : 1 } |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + "label": "Collection", |
| 27 | + "name": "hof", |
| 28 | + "functions": |
| 29 | + [ |
| 30 | + { "id" : 5, "label": "join", "name" : "join", "arity" : 1 }, |
| 31 | + { "id" : 4, "label": "sort", "name" : "sort", "arity" : 1 } |
| 32 | + ] |
| 33 | + }, |
| 34 | + { |
| 35 | + "label": "Comparison", |
| 36 | + "name": "eq", |
| 37 | + "functions": |
| 38 | + [ |
| 39 | + { "id": 11, "label": "==", "name": "==", "arity" : 2 } |
| 40 | + ] |
| 41 | + }, |
| 42 | + { |
| 43 | + "label": "String", |
| 44 | + "name": "string", |
| 45 | + "functions": |
| 46 | + [ |
| 47 | + { "id" : 21, "label": "concat", "name" : "concat", "arity" : 2 }, |
| 48 | + { "id" : 22, "label": "length", "name" : "length", "arity" : 1 }, |
| 49 | + { "id" : 23, "label": "reverse", "name" : "reverse", "arity" : 1 }, |
| 50 | + { "id" : 24, "label": "split", "name" : "split", "arity" : 1 } |
| 51 | + ] |
| 52 | + } |
| 53 | + ], |
| 54 | + "primitives": |
| 55 | + { |
| 56 | + "boolean": |
| 57 | + { |
| 58 | + "id": 101, |
| 59 | + "label": "Boolean", |
| 60 | + "type": "boolean", |
| 61 | + "values": [ |
| 62 | + { "label": "false", "name": "false" }, |
| 63 | + { "label": "true", "name": "true" } |
| 64 | + ] |
| 65 | + }, |
| 66 | + "number": |
| 67 | + { |
| 68 | + "id": 102, |
| 69 | + "label": "Number", |
| 70 | + "type": "number" |
| 71 | + }, |
| 72 | + "string": |
| 73 | + { |
| 74 | + "id": 103, |
| 75 | + "label": "String", |
| 76 | + "type": "string" |
| 77 | + } |
| 78 | + } |
| 79 | +} |
0 commit comments