Day3 working

- Fix string and character encoding in output
- Fix autos not solving if another extends context
This commit is contained in:
2024-11-29 22:10:43 -08:00
parent 18e44cb7d3
commit baeaf4295d
13 changed files with 759 additions and 39 deletions

View File

@@ -17,14 +17,6 @@ data Game : U where
-- Original had class and instance...
-- Add, Sub, Mul, Neg
-- NB this is not lazy!
infixl 5 _&&_
_&&_ : Bool -> Bool -> Bool
a && b = case a of
False => False
True => b
max : Int -> Int -> Int
max x y = case x < y of
True => y