Sha256: ac1f9551aac5aacc987b867906a7aefeb6fbc884ba60f99dee5d887a55bc4b58

Contents?: true

Size: 231 Bytes

Versions: 116

Compression:

Stored size: 231 Bytes

Contents

package accumulate

// Accumulate transform given strings by using given function
func Accumulate(s []string, f func(st string) string) (result []string) {
	for _, v := range s {
		result = append(result, f(v))
	}
	return result
}

Version data entries

116 entries across 116 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.138 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.137 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.136 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.135 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.134 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.133 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.132 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.131 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.130 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.129 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.128 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.127 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.126 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.125 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.124 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.123 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.122 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.121 tracks/go/exercises/accumulate/example.go
trackler-2.2.1.120 tracks/go/exercises/accumulate/example.go