Branch: Tag:

2003-04-28

2003-04-28 14:28:57 by Johan Sundström <oyasumi@gmail.com>

*happily adds some more documentation* ;-)

Rev: lib/modules/Array.pmod:1.83

542:   //! Flatten a multi-dimensional array to a one-dimensional array.   //! @note   //! Prior to Pike 7.5.7 it was not safe to call this function - //! with cyclic data-structures. + //! with cyclic data-structures. The method always terminates + //! now, but cyclic input might not yield a useful result.   array flatten(array a, mapping|void state)   {    if (state && state[a]) return state[a];