Branch: Tag:

2003-09-04

2003-09-04 20:23:21 by Martin Nilsson <mani@lysator.liu.se>

Fixed warnings

Rev: lib/modules/Array.pmod:1.94

755:   //! Array.all( ({ 2, 4, 6, 8 }), `<, 17 )   //! @seealso   //! @[any], @[has_value] - int(0..1) all( array a, function predicate, mixed ... extra_args ) + int(0..1) all( array a, function(mixed,mixed ...:int(0..1)) predicate, +  mixed ... extra_args )   {    foreach( a, mixed elem )    if( !predicate( elem, @extra_args ) )
771:   //! Array.any( ({ 2, 4, 6, 8 }), `>, 5 )   //! @seealso   //! @[all], @[has_value] - int(0..1) any( array a, function predicate, mixed ... extra_args ) + int(0..1) any( array a, function(mixed,mixed ...:int(0..1)) predicate, +  mixed ... extra_args )   {    foreach( a, mixed elem )    if( predicate( elem, @extra_args ) )
789:   //! > ({ ({ 4, 5, 6 }), ({ 0, 1, 2, 3, 7, 8 }) })   //! @seealso   //! @[filter], @[`/], @[`%] - array(array) partition( array a, function arbiter, mixed ... extra_args ) + array(array) partition( array a, function(mixed,mixed...:int(0..1)) arbiter, +  mixed ... extra_args )   {    array first = ({}), second = ({});    foreach( a, mixed elem )