|
FISH ANNOUNCEMENT | ||||||||||
|
Expressive PowerFISh supports
Unlike existing Algol-like languages, it also supports data types of arrays, so that array programs may be polymorphic in the size of the array. Now this has been extended to support
map : (a -> b) -> [a] -> [b]
which will map a function over a vector, matrix, or higher-dimensional
array. Note that a matrix of integers, or type [int] has a different
type from a vector of vectors of type [[int]]. Thus, given
map sum_int : [[int]] -> [int]
which will sum each entry of the outer array. This is useful when
|
||||||||||
|
Last Updated: Wednesday, 12-Aug-1998 20:09:44 EST |
![]()
Main |
Announcement |
Latest Paper |
Distribution |
Tutorial Please feel free to send any comments.
Copyright Barry Jay © 1998
|