On Wed, Sep 28, 2011 at 12:15, Daniel Solano Gomez <cloj...@sattvik.com> wrote:
> On Wed Sep 28 18:52 2011, Daniel Pittman wrote:
>>
>> I have problem that I have been thrashing back and forth over the best
>> design of for a week now, and I can't work out the nicest way to
>> handle it.  Specifically, I have a collection of functions that return
>> a primary result, and might also return a secondary "annotation" about
>> that result.
>
> Why not always return a vector?  That is more or less what a tuple is.

*nod*  Thanks, to you, and the other contributors.  That feels like
the right answer, and I guess I was hung up on not forcing a single
value to be returned in a wrapper so much that I couldn't see it
staring at me.

Daniel
-- 
♲ Made with 100 percent post-consumer electrons

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