turn the function for creating new types (or type constructors) into a DOPE function
This commit is contained in:
parent
d8ca2f3999
commit
a0e3aa0cb3
12 changed files with 112 additions and 58 deletions
|
|
@ -29,15 +29,15 @@ export const ModuleEq = {l:[
|
|||
|
||||
const eq = x => y => deepEqual(x,y);
|
||||
|
||||
const EqDict = {eq};
|
||||
const eqDict = {eq};
|
||||
|
||||
export const EqInstances = new Map([
|
||||
[Int , EqDict],
|
||||
[Bool , EqDict],
|
||||
[Double , EqDict],
|
||||
[Byte , EqDict],
|
||||
[Char , EqDict],
|
||||
[Unit , EqDict],
|
||||
[Type , EqDict],
|
||||
[SymbolT, EqDict],
|
||||
[Int , eqDict],
|
||||
[Bool , eqDict],
|
||||
[Double , eqDict],
|
||||
[Byte , eqDict],
|
||||
[Char , eqDict],
|
||||
[Unit , eqDict],
|
||||
[Type , eqDict],
|
||||
[SymbolT, eqDict],
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue