Re: palingdrome problem (4 clojure)

2015-10-07 Thread Tristan Strange
and an = will make bob your uncle. If you haven't seen them writing a recursive function would be a solution too. I'm not sure what the "hint" is about. It seems very misleading to me. Good luck! Cheers, Tristan On 7 October 2015 at 19:06, Moe Aboulkheir <m...@nervous.io>

[ANN] clj-amp 0.9.0

2015-04-02 Thread Tristan Seligmann
I am pleased to announce the release of clj-amp 0.9.0[1][2], a Clojure implementation of the AMP[3] protocol (the reference implementation of which is found in the Twisted networking framework for Python). clj-amp is implemented on top of Aleph/Manifold/Gloss; Special thanks to Zach Tellman for

dividing by negative fractions which result in whole numbers still return ratios rather than ints

2010-02-23 Thread tristan
what the hell is going on (just like i did!). cheers .Tristan -- 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

Re: generating a fn with a body based on user inputs, possible?

2010-01-11 Thread tristan
Thanks for the notes Meikel, i'm a clojure newbie so this sort of advice in invaluable to me! On 8 Jan., 16:00, Meikel Brandmeyer m...@kotka.de wrote: Hi, On Jan 8, 3:10 pm, tristan tristan.k...@gmail.com wrote: I've been working on a problem where I want the user to be able to input

Re: generating a fn with a body based on user inputs, possible?

2010-01-08 Thread tristan
Thanks Chouser! I had not thought of moving the (list 'fn ...etc) bit into the eval statement, it works perfectly! here is the final result! http://github.com/tristan/modelmaker/blob/d7dbdfa9b998cfc6b846ea5c235b4496ed8caa63/infix_parser.clj .Tristan On 8 Jan., 16:15, Chouser chou...@gmail.com

Re: macro headaches

2009-12-16 Thread tristan
-of-items) But note that those days, memfn is somewhat deprecated in favor of raw (fn ...) or #(...) constructs. HTH, -- Laurent 2009/12/15 tristan tristan.k...@gmail.com Hi guys, I have a list (which i don't know the size of) and i want to do something like this: (doto

macro headaches

2009-12-15 Thread tristan
if there is a way i could get the macro i wanted going. please help! my googling and trauling through Stuart Halloway's book have come up naught. thanks in advance! -Tristan -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send

Speed issues vs. Python

2009-03-12 Thread tristan
://github.com/tristan/project-euler-code/blob/4a17bc271b4b2743ee1d5b5692f86f963c6bcc7b/0087.py runs in ~4 seconds (timed using cygwin time python 0087.py whereas my clojure version http://github.com/tristan/project-euler-code/blob/4a17bc271b4b2743ee1d5b5692f86f963c6bcc7b/0087.clj takes over 20

Re: distinct broken?

2008-12-27 Thread tristan
Thanks for the explanation Christophe. I really need to try use (for) more often. I seem to forget about it all the time. On Dec 27, 10:42 pm, Christophe Grand christo...@cgrand.net wrote: tristan a écrit : Hi All, I've been trying to learn clojure lately by solving the project euler