CMC: destructive-concatenate two strings. abcdeff + fghijkk = abcdefghijkk. The fs in the middle all join to become one f. So the order of the arguments matter
VSL v0.0.2-alpha.2 (interactive)
run `help` for more information.
vsl>2
Type Resolution Error: Literal has no overlapping type candidates. They are a few reasons this could happen: 1. The STL is not linked 2. You are using a literal which doesn't have a class associated with it. This is likely an internal bug, but check for an existing report before leaving your own. You can also try to define your own candidate using `@primitive(...)`
1 | 2
| ^
2 |
vsl>2+2
TypeError: No deduction child handler for BinaryExpression
Build me a complex Stairway!
You will be given a String consisting of printable ASCII. Your task is to build a nice Stairway for my Castle.
How to build a nice Stairway?
First off, you should get all the rotations of the String. For example, the String abcd has the following rotations: abcd, ...
:38945054 code.ceylon:8: error: right operand must be of scalable type: 'Integer' is not a subtype of 'Scalable'
if (r < (2 ** i) && r % 2 == 1) {
^
code.ceylon:6: error: right operand must be of scalable type: 'Integer' is not a subtype of 'Scalable'
while (y < (2 ** i) ** 0.5) {
^
code.ceylon:5: error: right operand must be of scalable type: 'Integer' is not a subtype of 'Scalable'
while (x <= (2 ** i) ** 0.5) {
^
3 errors
Note: Created module default