I already thought to use this flow.
but I only wondered if I could use the ^false this way and
appearently it is allowed.
so I can begin with this one.
The Pharo track is still hidden but I saw on the github page that
in a short time
For a change this is an exercism problem I know something about.
I did look at the exercism web site, and did all the SML exercises,
but could not find any for Smalltalk or Pharo.
The exercise is in fact about using a stack.
stack <- empty
for each character of the string
if it is one
On 4. 4. 2019 13:16, Roelof Wobben wrote:
Hello,
For a challenge of Exercism I need to check if some parenthes and
brackets are balanced.
so for example
() = true
([]) = true
but (]) is not true because the bracket has no opening bracket.
Now I wonder if I can premature end a #do: like
Op 4-4-2019 om 13:22 schreef K K Subbu:
On 04/04/19 4:46 PM, Roelof Wobben wrote:
Hello,
For a challenge of Exercism I need to check if some parenthes and
brackets are balanced.
so for example
() = true
([]) = true
but (]) is not true because the bracket has no opening bracket.
Now I w
On 04/04/19 4:46 PM, Roelof Wobben wrote:
Hello,
For a challenge of Exercism I need to check if some parenthes and
brackets are balanced.
so for example
() = true
([]) = true
but (]) is not true because the bracket has no opening bracket.
Now I wonder if I can premature end a #do: like
Hello,
For a challenge of Exercism I need to check if some parenthes and
brackets are balanced.
so for example
() = true
([]) = true
but (]) is not true because the bracket has no opening bracket.
Now I wonder if I can premature end a #do: like this
collection do: [:element | (conditio