get delete, leftMost, rightMost, pop working for SortedMap

required fixing an issue in case building.
This commit is contained in:
2024-12-13 20:58:04 -08:00
parent 62b4bc15c4
commit 29abacfa6c
5 changed files with 170 additions and 15 deletions

View File

@@ -31,12 +31,6 @@ instance Ord Point where
instance Eq Point where
(a,b) == (c,d) = a == c && b == d
swap : a b. a × b b × a
swap (a,b) = (b,a)
const : a b. a b a
const a b = a
-- TODO add parameter a and pass Char -> a into getGrid
Grid : U
Grid = SortedMap Point Int