summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-11-29 23:08:15 +0100
committerAndreas Grois <andi@grois.info>2024-11-29 23:08:15 +0100
commit611c369de1874950682501d4454cce3e73c4d6cd (patch)
tree0867e9fe7c67437bd86e9a9fa89f77e341192819
parent368c506bc365162cd22f4001ab729ee3df110b79 (diff)
Change all imports from Lean to Std to reduce binary size.
Reduces binary size by more than a factor of 10... https://github.com/leanprover/lean4/issues/5274
-rw-r--r--Day12.lean2
-rw-r--r--Day14.lean4
-rw-r--r--Day3.lean4
-rw-r--r--Day8.lean4
4 files changed, 7 insertions, 7 deletions
diff --git a/Day12.lean b/Day12.lean
index 25fd28a..a9aa172 100644
--- a/Day12.lean
+++ b/Day12.lean
@@ -1,5 +1,5 @@
import «Common»
-import Lean.Data.HashMap
+import Std.Data.HashMap
namespace Day12
diff --git a/Day14.lean b/Day14.lean
index ad87e68..a7d2279 100644
--- a/Day14.lean
+++ b/Day14.lean
@@ -1,6 +1,6 @@
import «Common»
-import Lean.Data.HashMap
-import Lean.Data.HashSet
+import Std.Data.HashMap
+import Std.Data.HashSet
namespace Day14
diff --git a/Day3.lean b/Day3.lean
index 8bf0874..fd6fbc8 100644
--- a/Day3.lean
+++ b/Day3.lean
@@ -1,6 +1,6 @@
import «Common»
-import Lean.Data.HashSet
-import Lean.Data.HashMap
+import Std.Data.HashSet
+import Std.Data.HashMap
namespace Day3
structure Coordinate : Type 0 where
diff --git a/Day8.lean b/Day8.lean
index 6bb7e99..62dc1fa 100644
--- a/Day8.lean
+++ b/Day8.lean
@@ -1,6 +1,6 @@
import «Common»
-import Lean.Data.HashMap
-import Lean.Data.HashSet
+import Std.Data.HashMap
+import Std.Data.HashSet
namespace Day8