rename function
This commit is contained in:
parent
97b4e83379
commit
e892ade34d
8 changed files with 26 additions and 19 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import { fnType, getListType } from "../type_registry.js";
|
||||
import { fnType, lsType } from "../type_registry.js";
|
||||
import {Type, Function} from "../metacircular.js";
|
||||
import { Byte } from "../primitives/symbols.js";
|
||||
|
||||
export const Serializable = Symbol('Serializable');
|
||||
|
||||
const ListOfByte = getListType(Byte);
|
||||
const ListOfByte = lsType(Byte);
|
||||
|
||||
const serializeFnType = fnType({in: Serializable, out: ListOfByte});
|
||||
const deserializeFnType = fnType({in: ListOfByte, out: Serializable});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue