That's what I get for posting late on a Sunday.  I see now I misread
your request as a desire for a function that always returns its
argument, but it's clear now what you were looking for and constantly is
exactly it.

Sorry for the noise!

(2013/08/25 21:02), Christian Sperandio wrote:
> Not really.
> 
> The identity function returns the value. I want to have the function that 
> returns the value.
> constantly is the good answer for my needs.
> 
> 
> Le 25 août 2013 à 13:57, Dave Della Costa <ddellaco...@gmail.com> a écrit :
> 
>> There is also identity, which returns what it was passed, which seems
>> closer to what you described initially.
>>
>> => (identity "foo")
>> "foo"
> 

-- 
-- 
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/groups/opt_out.

Reply via email to