From 765d25857b0472e3f9df89ac822ad36ea0502466 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 6 Dec 2022 17:50:19 +0200 Subject: Rename stdlib -> core, allow import without .milch suffix --- examples/aoc22_1.milch | 2 +- examples/test.milch | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'examples') 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)]) -- cgit v1.3