// Int64sInt8sE 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.
Int64sInt8sE 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.
// Int64sInt8sE 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 Int64sInt8sE(s []int64, f func(s int64) (int8, error)) (int8s.Int8s, error) {
	m := int8s.Int8s(make([]int8, 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 Int64sInt8sE ( s [ ] int64 , f func ( s int64 ) ( int8 , error ) ) ( int8s . Int8s , error ) { m := int8s . Int8s ( make ( [ ] int8 , len ( s ) ) ) var err error for i , v := range s { m [ i ] , err = f ( v ) if err != nil { return nil , err } } return m , nil }
Int64sInt8sE creates a new slice with the results of calling the provided function on every element in the given array.
Int64sInt8sE creates a new slice with the results of calling the provided function on every element in the given array .