Initial implementation of inlining

This commit is contained in:
2025-09-20 10:54:54 -07:00
parent 97c50a254a
commit de71ea2f26
3 changed files with 93 additions and 29 deletions

View File

@@ -785,6 +785,11 @@ instance ∀ a b. {{Ord a}} {{Ord b}} → Ord (a × b) where
EQ => compare b d
res => res
instance Eq Bool where
True == x = x
False == False = True
_ == _ = False
instance a. {{Eq a}} Eq (List a) where
Nil == Nil = True
(x :: xs) == (y :: ys) = if x == y then xs == ys else False