Re: How to use functions from clojure.contrib?

2014-07-13 Thread Pierre Masci
Haha, I've randomly come accross this exact same function in 
Prismatic/plumbing https://github.com/Prismatic/plumbing, plus a bunch of 
other interesting ones.
I'll use that version from now.


On Wednesday, 9 July 2014 13:26:21 UTC+1, Pierre Masci wrote:

 Thank you Andy, that's exactly the answer I needed.
 I thought I might be missing the right place where to look, because I'm 
 new to the ecosystem.
 http://crossclj.info 
 http://www.google.com/url?q=http%3A%2F%2Fcrossclj.infosa=Dsntz=1usg=AFQjCNG-DyQUTVfpaTQKl0M8glmTtO-tMQ
  is 
 a very good resource to know of.

 I will copy-paste that function for now.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to use functions from clojure.contrib?

2014-07-09 Thread Pierre Masci
Hi, I am new to Clojure (about a week) so I might be missing something.

I want to use the (positions) 
http://clojuredocs.org/clojure_contrib/clojure.contrib.seq/positions function 
from clojure.contrib.seq.
I could simply copy its source, but I would prefer a more generic way of 
using functions form clojure.contrib.
This page http://clojure.github.io/clojure-contrib/ indicates that 
clojure.contrib is deprecated, but I could not find (positions) anywhere 
else.

What is a good solution to this problem?

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use functions from clojure.contrib?

2014-07-09 Thread Andy Fingerhut
Pierre:

The link to the page Where did Clojure.Contrib Go on the page where you
noted that clojure.contrib is deprecated gives the names of current
modular contrib libraries that contain most or all of what *some* older
clojure.contrib libraries contained.

Unfortunately clojure.contrib.seq has no corresponding current library
listed on that page, and I am not aware of any other place that
functionality may have been copied to.

CrossClj [1] might make it possible to find a more modern library where the
function positions was copied to that you could use (enter positions in the
search box at the upper right of the page).  However, I suspect that method
will quickly reach a point of diminishing returns if all you want is that
one function -- copying it into your code isn't a bad idea.

[1] http://crossclj.info

Andy



On Wed, Jul 9, 2014 at 4:20 AM, Pierre Masci mas...@gmail.com wrote:

 Hi, I am new to Clojure (about a week) so I might be missing something.

 I want to use the (positions)
 http://clojuredocs.org/clojure_contrib/clojure.contrib.seq/positions 
 function
 from clojure.contrib.seq.
 I could simply copy its source, but I would prefer a more generic way of
 using functions form clojure.contrib.
 This page http://clojure.github.io/clojure-contrib/ indicates that
 clojure.contrib is deprecated, but I could not find (positions) anywhere
 else.

 What is a good solution to this problem?

 --
 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 unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use functions from clojure.contrib?

2014-07-09 Thread Pierre Masci
Thank you Andy, that's exactly the answer I needed.
I thought I might be missing the right place where to look, because I'm 
new to the ecosystem.
http://crossclj.info 
http://www.google.com/url?q=http%3A%2F%2Fcrossclj.infosa=Dsntz=1usg=AFQjCNG-DyQUTVfpaTQKl0M8glmTtO-tMQ
 is 
a very good resource to know of.

I will copy-paste that function for now.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.