From 5d2de759cf2dd889fbe55edb5482d2e36ac5937a Mon Sep 17 00:00:00 2001 From: Bill Burdick Date: Tue, 9 Nov 2010 16:59:24 +0200 Subject: [PATCH] prettied up docs --- seq/seq.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/seq/seq.go b/seq/seq.go index a5db46b..a78e7f8 100644 --- a/seq/seq.go +++ b/seq/seq.go @@ -13,21 +13,13 @@ import "container/vector" type El interface{} // basic sequence support type Seq interface { - //returns the first item in a sequence for which f returns true Find(f func(i El)bool) El - //returns a new sequence of the same type as the receiver consisting of all of the elements of s except for the first one Rest() Seq - //returns the length of s Len() int - //returns a new sequence of the same type as the receiver that appends this one and s2 Append(s2 Seq) Seq - //returns a new sequence of the same type as the receiver that appends s2 and this one Prepend(s2 Seq) Seq - //returns a new sequence of the same type as the receiver consisting of the elements of s for which filter returns true Filter(filter func(e El) bool) Seq - //returns a new sequence of the same type as s consisting of the results of appying f to the elements of s Map(f func(i El) El) Seq - //returns a new sequence of the same type as s consisting of the concatenation of the sequences f returns when applied to all of the elements of s FlatMap(f func(i El) Seq) Seq } -- 2.11.4.GIT