Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -37,14 +37,14 @@ class AmbValueCollection
|
|||
|
||||
constructor new(params object[] args)
|
||||
{
|
||||
_combinator := SequentialEnumerator.new(params args)
|
||||
_combinator := SequentialEnumerator.load(params args)
|
||||
}
|
||||
|
||||
seek(cond)
|
||||
{
|
||||
_combinator.reset();
|
||||
|
||||
_combinator.seekEach:(v => dispatcher.eval(v,cond))
|
||||
_combinator.seekEach::(v => dispatcher.eval(v,cond))
|
||||
}
|
||||
|
||||
do(f)
|
||||
|
|
@ -81,12 +81,12 @@ public program()
|
|||
new object[]{"frog", "elephant", "thing"},
|
||||
new object[]{"walked", "treaded", "grows"},
|
||||
new object[]{"slowly", "quickly"})
|
||||
.seek:(a,b,c,d => joinable(a,b) && joinable(b,c) && joinable(c,d) )
|
||||
.do:(a,b,c,d) { console.printLine(a," ",b," ",c," ",d) }
|
||||
.seek::(a,b,c,d => joinable(a,b) && joinable(b,c) && joinable(c,d) )
|
||||
.do::(a,b,c,d) { console.printLine(a," ",b," ",c," ",d) }
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
console.printLine:"AMB is angry"
|
||||
console.printLine("AMB is angry")
|
||||
};
|
||||
|
||||
console.readChar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue