Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
23
Task/Amb/Bracmat/amb.bracmat
Normal file
23
Task/Amb/Bracmat/amb.bracmat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
( ( Amb
|
||||
= first last list words word solution
|
||||
. !arg:(?first.?list)
|
||||
& ( !list:
|
||||
| !list:(.?words) ?list
|
||||
& !words
|
||||
: ?
|
||||
%( @(?word:!first ? @?last)
|
||||
& Amb$(!last.!list):?solution
|
||||
& !word !solution:?solution
|
||||
)
|
||||
?
|
||||
& !solution
|
||||
)
|
||||
)
|
||||
& Amb
|
||||
$ (
|
||||
. (.the that a)
|
||||
(.frog elephant thing)
|
||||
(.walked treaded grows)
|
||||
(.slowly quickly)
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue