Skip to content

Commit

Permalink
+str
Browse files Browse the repository at this point in the history
  • Loading branch information
imaman committed Apr 25, 2024
1 parent 6bf2116 commit 17b0f2c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions modules/septima-lang/src/value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,17 +414,7 @@ export class Value {
}),
undef: errNum,
obj: errNum,
str: lhs =>
select(that, {
arr: rhs => lhs + rhs,
bool: rhs => lhs + rhs,
foreign: rhs => lhs + rhs,
lambda: rhs => lhs + rhs,
num: rhs => lhs + rhs,
undef: errNum,
obj: rhs => lhs + rhs,
str: rhs => lhs + rhs,
}),
str: lhs => Value.str(lhs + that.toString()),
})
}
minus(that: Value) {
Expand Down

0 comments on commit 17b0f2c

Please sign in to comment.