diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-02-18 21:30:35 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-02-18 21:30:35 +0100 |
| commit | 97e6cd1d48840800913c2140cfe14fa8431e05c0 (patch) | |
| tree | 057caf42627d46e83137b8600108eecce4163dc5 /app/Code.hs | |
| parent | 4aa8b6d129382960302ea185e98c367240a01f41 (diff) | |
| download | prlg-97e6cd1d48840800913c2140cfe14fa8431e05c0.tar.gz prlg-97e6cd1d48840800913c2140cfe14fa8431e05c0.tar.bz2 | |
useful stuff
Diffstat (limited to 'app/Code.hs')
| -rw-r--r-- | app/Code.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Code.hs b/app/Code.hs index f2a3856..709b309 100644 --- a/app/Code.hs +++ b/app/Code.hs @@ -81,7 +81,7 @@ data Dereferenced = FreeRef Int | BoundRef Int Datum | NoRef - deriving (Show) + deriving (Show, Eq) -- TRICKY: HeapRefs alone must not form a cycle other than the FreeRef case. derefHeap :: Heap -> Int -> Dereferenced |
