Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
d88fb9f0
Commit
d88fb9f0
authored
Apr 20, 2009
by
David Symonds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, forgot to commit this change.
R=r APPROVED=r DELTA=3 (1 added, 0 deleted, 2 changed) OCL=27624 CL=27626
parent
dc5cffbe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
iterable.go
src/lib/container/iterable.go
+3
-2
No files found.
src/lib/container/iterable.go
View file @
d88fb9f0
...
@@ -79,8 +79,9 @@ func Find(iter Iterable, f func(interface {}) bool) interface {} {
...
@@ -79,8 +79,9 @@ func Find(iter Iterable, f func(interface {}) bool) interface {} {
return
nil
return
nil
}
}
// An injector function takes two arguments, an accumulated value and an
// Injector is a type representing a function that takes two arguments,
// element, and returns the next accumulated value. See the Inject function.
// an accumulated value and an element, and returns the next accumulated value.
// See the Inject function.
type
Injector
func
(
interface
{},
interface
{})
interface
{};
type
Injector
func
(
interface
{},
interface
{})
interface
{};
// Inject combines the elements of iter by repeatedly calling f with an
// Inject combines the elements of iter by repeatedly calling f with an
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment