aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-06 17:50:19 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-06 17:53:35 +0200
commit765d25857b0472e3f9df89ac822ad36ea0502466 (patch)
tree6c5c462ade5213c3f72eeebe6315603a07e130fa /examples
parente529e0e48c999fccb216bd3f3bc948abe22dbe76 (diff)
Rename stdlib -> core, allow import without .milch suffix
Diffstat (limited to 'examples')
-rw-r--r--examples/aoc22_1.milch2
-rw-r--r--examples/test.milch6
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/aoc22_1.milch b/examples/aoc22_1.milch
index 7a4520a..becdaee 100644
--- a/examples/aoc22_1.milch
+++ b/examples/aoc22_1.milch
@@ -1,4 +1,4 @@
-(import "stdlib/common.milch")
+(import "core/common.milch")
;; utils
diff --git a/examples/test.milch b/examples/test.milch
index d8d0077..a8225b1 100644
--- a/examples/test.milch
+++ b/examples/test.milch
@@ -1,11 +1,7 @@
-(import "stdlib/common.milch")
+(import "core/common")
(map (+ 1) [1 2 3])
-
(foldr + 0 [1 2 3])
-
(filter is-even [0 1 2 3 4 5])
-
(reverse [1 2 3])
-
(pipe 10 [(+ 1) (+ 2)])