...
This commit is contained in:
parent
7dafc1d659
commit
172315047c
2 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@ const mkType = getDefaultTypeParser();
|
||||||
// Not sure if the type var 'a' is the right way to go...
|
// Not sure if the type var 'a' is the right way to go...
|
||||||
|
|
||||||
export const ModuleDynamic = [
|
export const ModuleDynamic = [
|
||||||
["newDynamic", newDynamic(newDynamic)(mkType("a -> Type -> Dynamic" ))],
|
["newDynamic", newDynamic(newDynamic)(mkType("a -> Type -> Dynamic"))],
|
||||||
["getInst" , newDynamic(getInst )(mkType("Dynamic -> a" ))],
|
["getInst" , newDynamic(getInst )(mkType("Dynamic -> a" ))],
|
||||||
["getType" , newDynamic(getType )(mkType("Dynamic -> Type" ))],
|
["getType" , newDynamic(getType )(mkType("Dynamic -> Type" ))],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -85,10 +85,10 @@ const mkType = makeTypeParser({
|
||||||
});
|
});
|
||||||
|
|
||||||
export const ModuleVersioning = [
|
export const ModuleVersioning = [
|
||||||
["getDepth", {i: getDepth, t: mkType("Slot -> Int")}],
|
["getDepth" , newDynamic(getDepth )(mkType("Slot -> Int" ))],
|
||||||
["overwrite", {i: overwrite, t: mkType("Slot -> Value -> Slot")}],
|
["overwrite" , newDynamic(overwrite )(mkType("Slot -> Value -> Slot" ))],
|
||||||
["read", {i: read, t: mkType("Slot -> Value")}],
|
["read" , newDynamic(read )(mkType("Slot -> Value" ))],
|
||||||
["transform", {i: transform, t: mkType("Value -> Value -> Value")}],
|
["transform" , newDynamic(transform )(mkType("Value -> Value -> Value"))],
|
||||||
["newSlot", {i: newSlot, t: mkType("UUID -> Slot")}],
|
["newSlot" , newDynamic(newSlot )(mkType("UUID -> Slot" ))],
|
||||||
["newLiteral", {i: newLiteral, t: mkType("Dynamic -> Value")}],
|
["newLiteral", newDynamic(newLiteral)(mkType("Dynamic -> Value" ))],
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue