// UintsUint64sE creates a new slice with the results of calling the provided function on every element in the given array.
// Returns an error if one of the function calls fails.
UintsUint64sE creates a new slice with the results of calling the provided function on every element in the given array.
Returns an error if one of the function calls fails.
// UintsUint64sE creates a new slice with the results of calling the provided function on every element in the given array . // Returns an error if one of the function calls fails .
func UintsUint64sE(s []uint, f func(s uint) (uint64, error)) (uint64s.Uint64s, error) {
	m := uint64s.Uint64s(make([]uint64, len(s)))
	var err error
	for i, v := range s {
		m[i], err = f(v)
		if err != nil {
			return nil, err
		}
	}
	return m, nil
}
func UintsUint64sE ( s [ ] uint , f func ( s uint ) ( uint64 , error ) ) ( uint64s . Uint64s , error ) { m := uint64s . Uint64s ( make ( [ ] uint64 , len ( s ) ) ) var err error for i , v := range s { m [ i ] , err = f ( v ) if err != nil { return nil , err } } return m , nil }
UintsUint64sE creates a new slice with the results of calling the provided function on every element in the given array.
UintsUint64sE creates a new slice with the results of calling the provided function on every element in the given array .