Lunhy Bin challenge
Anyone want to take a crack at the Luhny Bin challenge from Square in Clojure? Crazy Bob is interested in seeing a Clojure solution. http://corner.squareup.com/2011/11/luhny-bin.html -- 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
Re: Lunhy Bin challenge
Hi, here is one: http://paste.pocoo.org/show/508130/ I haven't tested it very thouroughly, though. Sincerely Meikel -- 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
Re: Lunhy Bin challenge
I've looked at this a bit this afternoon in both clojure and groovy. I couldn't come up with an interesting way to solve the problem. In both cases I end up take the numbers into a list/vector of digits, and solving it that way. It works, but boring. :) I figure I'll ponder on it some more. On Nov 15, 2011, at 3:59 AM, Alex Miller wrote: > Anyone want to take a crack at the Luhny Bin challenge from Square in > Clojure? Crazy Bob is interested in seeing a Clojure solution. > > http://corner.squareup.com/2011/11/luhny-bin.html > > -- > 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
Re: Lunhy Bin challenge
On Tue, 15 Nov 2011 00:59:38 -0800 (PST), Alex Miller wrote: > Anyone want to take a crack at the Luhny Bin challenge from Square in > Clojure? Crazy Bob is interested in seeing a Clojure solution. > > http://corner.squareup.com/2011/11/luhny-bin.html My solution is here: https://github.com/chrismgray/luhnybin There's not too much exciting about it, but I like the luhn-check function. Cheers, Chris -- 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