Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
package require Tcl 8.6
|
||||
proc partial {f1 f2} {
|
||||
variable ctr
|
||||
coroutine __curry[incr ctr] apply {{f1 f2} {
|
||||
for {set x [info coroutine]} 1 {} {
|
||||
set x [{*}$f1 $f2 [yield $x]]
|
||||
}
|
||||
}} $f1 $f2
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue