Merge remote-tracking branch 'origin/trunk' into recursive-layouts

This commit is contained in:
Folkert 2020-09-07 16:53:15 +02:00
commit f857203673
64 changed files with 5025 additions and 2214 deletions

View file

@ -40,7 +40,7 @@ pub enum TagName {
}
impl TagName {
pub fn into_string(self, interns: &Interns, home: ModuleId) -> InlinableString {
pub fn as_string(&self, interns: &Interns, home: ModuleId) -> InlinableString {
match self {
TagName::Global(uppercase) => uppercase.as_inline_str().clone(),
TagName::Private(symbol) => symbol.fully_qualified(interns, home),

View file

@ -15,6 +15,9 @@ pub enum LowLevel {
ListAppend,
ListPrepend,
ListJoin,
ListMap,
ListKeepIf,
ListWalkRight,
NumAdd,
NumSub,
NumMul,

View file

@ -666,7 +666,7 @@ define_builtins! {
6 LIST_MAP: "map"
7 LIST_LEN: "len"
8 LIST_FOLDL: "foldl"
9 LIST_FOLDR: "foldr"
9 LIST_WALK_RIGHT: "walkRight"
10 LIST_CONCAT: "concat"
11 LIST_FIRST: "first"
12 LIST_SINGLE: "single"
@ -674,6 +674,7 @@ define_builtins! {
14 LIST_REVERSE: "reverse"
15 LIST_PREPEND: "prepend"
16 LIST_JOIN: "join"
17 LIST_KEEP_IF: "keepIf"
}
5 RESULT: "Result" => {
0 RESULT_RESULT: "Result" imported // the Result.Result type alias