This commit is contained in:
2024-12-07 22:12:38 -08:00
parent 9c0b20a6ce
commit 0f5a909cce
3 changed files with 110 additions and 0 deletions

View File

@@ -647,6 +647,9 @@ instance Ord Int where
-- isEq = ?
x < y = ltInt x y
instance Ord Char where
x < y = jsLT x y
-- foo : ∀ a. {{Ord a}} -> a -> Bool
-- foo a = a == a