8 lines
307 B
JavaScript
8 lines
307 B
JavaScript
// The functions are only defined here. For their types, see lib/symbol.js
|
|
|
|
// Cannot turn the constructor into a DOPE function, because it is NOT PURE:
|
|
// export const constructSymbol = name => Symbol(name);
|
|
|
|
export const getName = symbol => symbol.description;
|
|
|
|
export const eqSymbol = a => b => a === b;
|