Hi,

what is the code of the function you're currently using ?

2011/8/3 Chris Rosengren <christopher.roseng...@gmail.com>

> Hi, I'm using an iterative function to do this now but I would like to
> start programming in a more functional style
>
> I have an ordered (ascending) distinct sequence 1 4 5 34 36 38 53 55
> 59 62
> How would I write a function in a functional style that returns the 1-
> gaps (integer directly on either side)?
>
> For the above sequence it should return (35 37 54)
>
> Thanks.
>
> --
> 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

-- 
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