aoc2025 - add missing file, update for Prelude change
This commit is contained in:
@@ -8,10 +8,6 @@ import Data.Vect
|
|||||||
import Data.Fin
|
import Data.Fin
|
||||||
import Z3
|
import Z3
|
||||||
|
|
||||||
instance ∀ a b. {{Show a}} → {{Show b}} → Show (Either a b) where
|
|
||||||
show (Left a) = "Left \{show a}"
|
|
||||||
show (Right b) = "Right \{show b}"
|
|
||||||
|
|
||||||
record Machine where
|
record Machine where
|
||||||
goal : Int
|
goal : Int
|
||||||
buttons : List Int
|
buttons : List Int
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import Prelude
|
|||||||
import Node
|
import Node
|
||||||
import Aoc
|
import Aoc
|
||||||
import Data.SortedMap
|
import Data.SortedMap
|
||||||
import Monad.State
|
|
||||||
|
|
||||||
gridPoints : String → List (Char × Int × Int)
|
gridPoints : String → List (Char × Int × Int)
|
||||||
gridPoints text = go 0 0 (unpack text) Nil
|
gridPoints text = go 0 0 (unpack text) Nil
|
||||||
|
|||||||
1
aoc2025/Monad
Symbolic link
1
aoc2025/Monad
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../src/Monad
|
||||||
Reference in New Issue
Block a user