Paste: transpose

Author: tylerg
Mode: factor
Date: Tue, 6 Jan 2009 23:10:44
Plain Text |
! transposing a matrix 

: transpose 
  [ first length ] keep
  [ [ nth ] with map ] curry
  map ;

Annotation:

Author: slava
Mode: factor
Date: Wed, 7 Jan 2009 02:04:21
Plain Text |
the 'flip' word in the sequences vocabulary does this, and its definition is almost identical to yours.

\ flip help

New Annotation

Summary:
Author:
Mode:
Body: