This commit is contained in:
Joeri Exelmans 2025-06-06 11:35:38 +02:00
parent 7dafc1d659
commit 172315047c
2 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@ const mkType = getDefaultTypeParser();
// Not sure if the type var 'a' is the right way to go...
export const ModuleDynamic = [
["newDynamic", newDynamic(newDynamic)(mkType("a -> Type -> Dynamic" ))],
["newDynamic", newDynamic(newDynamic)(mkType("a -> Type -> Dynamic"))],
["getInst" , newDynamic(getInst )(mkType("Dynamic -> a" ))],
["getType" , newDynamic(getType )(mkType("Dynamic -> Type" ))],
];

View file

@ -85,10 +85,10 @@ const mkType = makeTypeParser({
});
export const ModuleVersioning = [
["getDepth", {i: getDepth, t: mkType("Slot -> Int")}],
["overwrite", {i: overwrite, t: mkType("Slot -> Value -> Slot")}],
["read", {i: read, t: mkType("Slot -> Value")}],
["transform", {i: transform, t: mkType("Value -> Value -> Value")}],
["newSlot", {i: newSlot, t: mkType("UUID -> Slot")}],
["newLiteral", {i: newLiteral, t: mkType("Dynamic -> Value")}],
["getDepth" , newDynamic(getDepth )(mkType("Slot -> Int" ))],
["overwrite" , newDynamic(overwrite )(mkType("Slot -> Value -> Slot" ))],
["read" , newDynamic(read )(mkType("Slot -> Value" ))],
["transform" , newDynamic(transform )(mkType("Value -> Value -> Value"))],
["newSlot" , newDynamic(newSlot )(mkType("UUID -> Slot" ))],
["newLiteral", newDynamic(newLiteral)(mkType("Dynamic -> Value" ))],
];