Re: Countdown numbers game in clojure.core.logic

2012-12-14 Thread David Nolen
Looks nice and short to me. Again I don't have the time to ponder optimizations so I'm curious myself how it could be made faster. David On Thu, Dec 13, 2012 at 9:22 PM, Adam Clements wrote: > Hi, so I chose this problem as my first foray into core.logic too > > My solution is here > https://gi

Re: Countdown numbers game in clojure.core.logic

2012-12-13 Thread Adam Clements
Hi, so I chose this problem as my first foray into core.logic too My solution is here https://github.com/AdamClements/countdown/blob/master/src/countdown/core.clj My solution is a little slow, depending on how tricky a problem it is, it can take from milliseconds to seconds. I ran [75 9 1 3 4]

Re: Countdown numbers game in clojure.core.logic

2012-08-18 Thread David Nolen
On Sat, Aug 18, 2012 at 10:36 AM, David Powell wrote: > > I just had a go of solving the Numbers Game from the UK gameshow Countdown > [1] in clojure.core.logic. > > https://gist.github.com/3374505 > > It works, but it is a bit slow. > > Anybody got any ideas on better approaches? > > [1] http://e

Countdown numbers game in clojure.core.logic

2012-08-18 Thread David Powell
I just had a go of solving the Numbers Game from the UK gameshow Countdown [1] in clojure.core.logic. https://gist.github.com/3374505 It works, but it is a bit slow. Anybody got any ideas on better approaches? [1] http://en.wikipedia.org/wiki/Countdown_(game_show)#Numbers_round -- Dave -- Y