Str.concat tests and definition set up

This commit is contained in:
Chad Stearns 2020-08-15 02:45:52 -04:00
parent 27b2d10b2a
commit a81504720b
7 changed files with 68 additions and 2 deletions

View file

@ -3,6 +3,7 @@
/// into an Expr when added directly by can::builtins
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum LowLevel {
StrConcat,
ListLen,
ListGetUnsafe,
ListSet,

View file

@ -652,6 +652,7 @@ define_builtins! {
1 STR_AT_STR: "@Str" // the Str.@Str private tag
2 STR_ISEMPTY: "isEmpty"
3 STR_APPEND: "append"
4 STR_CONCAT: "concat"
}
4 LIST: "List" => {
0 LIST_LIST: "List" imported // the List.List type alias