format alias map literal better
This commit is contained in:
@@ -47,11 +47,17 @@ class Kiss {
|
|||||||
loadedFiles: new Map<String, Bool>(),
|
loadedFiles: new Map<String, Bool>(),
|
||||||
// Helpful built-in aliases
|
// Helpful built-in aliases
|
||||||
callAliases: [
|
callAliases: [
|
||||||
"print" => Symbol("Prelude.print"), "sort" => Symbol("Prelude.sort"), "groups" => Symbol("Prelude.groups"), "zip" => Symbol("Prelude.zip"),
|
"print" => Symbol("Prelude.print"),
|
||||||
|
"sort" => Symbol("Prelude.sort"),
|
||||||
|
"groups" => Symbol("Prelude.groups"),
|
||||||
|
"zip" => Symbol("Prelude.zip"),
|
||||||
"pairs" => Symbol("Prelude.pairs"), // TODO test pairs
|
"pairs" => Symbol("Prelude.pairs"), // TODO test pairs
|
||||||
"memoize" => Symbol("Prelude.memoize"), // TODO test memoize
|
"memoize" => Symbol("Prelude.memoize"), // TODO test memoize
|
||||||
"map" => Symbol("Lambda.map"), "filter" => Symbol("Lambda.filter"), // TODO use truthy as the default filter function
|
"map" => Symbol("Lambda.map"),
|
||||||
"has" => Symbol("Lambda.has"), "count" => Symbol("Lambda.count")],
|
"filter" => Symbol("Lambda.filter"), // TODO use truthy as the default filter function
|
||||||
|
"has" => Symbol("Lambda.has"),
|
||||||
|
"count" => Symbol("Lambda.count")
|
||||||
|
],
|
||||||
identAliases: new Map()
|
identAliases: new Map()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user