recursive types (and operations on them, like pretty-printing, comparison and unification) seem to be working.
big part of the code base still needs to be 'ported' to the updated type constructors.
This commit is contained in:
parent
55c5d7cffa
commit
8eec5b9239
34 changed files with 523 additions and 295 deletions
|
|
@ -26,4 +26,4 @@ export const compareUnits = x => y => 0;
|
|||
|
||||
// Note: dirty assumption that every symbol has unique description.
|
||||
// This will be fixed once we move from symbols to real UUIDs.
|
||||
export const compareSymbols = a => b => (a !== b) && compareStrings(a.description)(b.description);
|
||||
export const compareSymbols = a => b => Number(a !== b) && compareStrings(a.description)(b.description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue