mirror of
https://github.com/zorp-corp/jock-lang.git
synced 2024-11-27 08:54:59 +03:00
Post with jamfile.
This commit is contained in:
parent
d3831f7225
commit
4dd55b14a4
Binary file not shown.
@ -172,6 +172,21 @@
|
||||
:: |= [=term t=@t]
|
||||
:: ~| term
|
||||
:: (test t)
|
||||
|
||||
:: =| i=@
|
||||
:: =/ len (lent list-jocks)
|
||||
:: =| lis=(list ?)
|
||||
:: |-
|
||||
:: ?: =(i len)
|
||||
:: (flop lis)
|
||||
:: =/ res=(unit *)
|
||||
:: %- mole
|
||||
:: |.
|
||||
:: =/ nok (mint i)
|
||||
:: .*(%jock +.nok)
|
||||
:: =. lis
|
||||
:: [?=(^ res) lis]
|
||||
:: $(i +(i))
|
||||
:: ::
|
||||
:: ++ test
|
||||
:: |= i=@
|
||||
@ -199,7 +214,9 @@
|
||||
%- mole
|
||||
|.
|
||||
=/ nok (mint i)
|
||||
.*(%jock +.nok)
|
||||
=/ jok .*(%jock +.nok)
|
||||
~& [i `@tas`-.nok jok]
|
||||
jok
|
||||
=. lis
|
||||
[?=(^ res) lis]
|
||||
$(i +(i))
|
||||
|
@ -58,7 +58,7 @@
|
||||
:: ?~ pa results
|
||||
:: $(pa t.pa, results `(list tank)`[leaf+"{<i.pa>}" results])
|
||||
:: ~& > " "
|
||||
~& test-jocks:test-jock
|
||||
:: ~& test-jocks:test-jock
|
||||
?- -.c
|
||||
%test-n [~ k]
|
||||
%test-all [~ k]
|
||||
|
Loading…
Reference in New Issue
Block a user