pike.git / lib / modules / Array.pmod

version» Context lines:

pike.git/lib/modules/Array.pmod:10:      constant sort = __builtin.sort;   constant everynth = __builtin.everynth;   constant splice = __builtin.splice;   constant transpose = __builtin.transpose;   constant uniq = __builtin.uniq_array;      constant filter=predef::filter;   constant map=predef::map;   constant permute = __builtin.permute; + constant enumerate = predef::enumerate;      //! @[reduce()] sends the first two elements in @[arr] to @[fun],   //! then the result and the next element in @[arr] to @[fun] and   //! so on. Then it returns the result. The function will return   //! @[zero] if @[arr] is the empty array. If @[arr] has   //! only one element, that element will be returned.   //!   //! @seealso   //! @[Array.rreduce()]   //!