flip word tweak
parent
7ce12846cb
commit
5ead538e90
|
@ -105,8 +105,8 @@ M: object like drop ;
|
|||
|
||||
: flip ( matrix -- newmatrix )
|
||||
dup empty? [
|
||||
dup first [ length ] keep like
|
||||
[ <column> dup like ] map-with
|
||||
dup first [ length [ <column> dup like ] map-with ] keep
|
||||
like
|
||||
] unless ;
|
||||
|
||||
: unpair ( assoc -- keys values )
|
||||
|
|
Loading…
Reference in New Issue