June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -9,19 +9,19 @@ extension op
|
|||
[
|
||||
var list := ArrayList new:blocks.
|
||||
|
||||
^ $nil == self literal; upperCase; seekEach(:ch)
|
||||
^ nil == self literal; upperCase; seekEach(:ch)
|
||||
[
|
||||
var index := list indexOfElement
|
||||
((:word)(word indexOf:ch at:0 != -1) asComparator).
|
||||
|
||||
if (index>=0)
|
||||
[ list remove at:index. ^ false ];
|
||||
[ list removeAt:index. ^ false ];
|
||||
[ ^ true ]
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
program =
|
||||
public program =
|
||||
[
|
||||
var blocks := ("BO", "XK", "DQ", "CP", "NA",
|
||||
"GT", "RE", "TG", "QD", "FS",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue