I'm not 100% sure what you're asking, but I think I understand you,
and in that case you can refer to
http://groups.google.com/group/clojure/browse_thread/thread/9c7f726709e24c12/b2e2696b70d924f2?show_docid=b2e2696b70d924f2,
in which I ask this very question and get the answers I am looking
for.

On Sep 9, 3:50 pm, Miki <miki.teb...@gmail.com> wrote:
> Boolean seems to work:
>
> user=> (drop-while #(< % 4) (range 10))
> (4 5 6 7 8 9)
> user=>
>
> On Sep 9, 2:51 pm, Jacek Laskowski <ja...@laskowski.net.pl> wrote:
>
> > Hi,
>
> > According to drop-while doc, (pred item) will return nil. It struck me
> > as I thought the form would only return a boolean. Is the doc correct?
> > What would be an example?
>
> > user=> (doc drop-while)
> > -------------------------
> > clojure.core/drop-while
> > ([pred coll])
> >   Returns a lazy sequence of the items in coll starting from the first
> >   item for which (pred item) returns nil.
>
> > Jacek
>
> > --
> > Jacek Laskowski
> > Notatnik Projektanta Java EE -http://jaceklaskowski.pl
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to