Re: Clojure for financial applications

2010-03-09 Thread Volkan YAZICI
On Mar 8, 8:22 pm, Jonathan Shore wrote: > It is a shame to have to dive down to Java or native (perhaps with the > exception of some of the massive numerical libraries one does not want to > rewrite). I'm hoping to use Clojure or something like clojure as a complete > replacement. Shame? Isn'

Re: Clojure for financial applications

2010-03-08 Thread Volkan YAZICI
On Mar 7, 6:35 pm, jshore wrote: > Wondering whether anyone has done something very complex in the algo > space or comparable so can get an idea of how this sort of stuff is > structured idiomatically.   I will also be concerned with performance > and memory use, as one of my strategies creates a

Re: apply-ing Java methods

2010-03-08 Thread Volkan YAZICI
See memfn in Clojure API docs. -- 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

Reflection Warning Output in SLIME

2010-03-01 Thread Volkan YAZICI
Hi, When I compile an expression via C-c C-c in SLIME -- assuming *warn-on- reflection* is turned on -- reflection related warnings don't appear neither in the REPL, nor in the inferior lisp buffer. Everytime, I have to paste the code the REPL manually. Any solutions? Regards. -- You received

Floyd-Warshall's APSP (All-Pairs-Shortest-Path) Algorithm

2010-02-21 Thread Volkan YAZICI
Hi, In case of need, here[1] is an optimized version of Floyd-Warshall's APSP (All-Pairs-Shortest-Path) algorithm in Clojure. Regards. [1] http://paste.lisp.org/display/95370 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

BILFP User Group

2009-11-19 Thread Volkan YAZICI
Hi, Would anybody mind adding BILFP[1] (Bilkent University Comp. Eng. Dept. Functional Programming Society) to the "Clojure User Groups" page[2], please? Regards. [1] http://bilfp.wikidot.com/ [2] http://clojure.org/community -- You received this message because you are subscribed to the Goog

Re: data structures for efficient range queries

2009-10-20 Thread Volkan YAZICI
On Mon, 19 Oct 2009, nchubrich writes: > I need to make a data structure for a query such as "find everything > that is priced $3.27 - $6.12" (and perhaps sum up the total revenue > for all items in that price range). The naive way would be to make an > array with one slot for each increment in

Re: Printing to *out* in another thread

2009-10-18 Thread Volkan YAZICI
On Sat, 17 Oct 2009, mbrodersen writes: > If you want to print to stdout from multiple threads without getting > the printing garbeled you can do something like the following (it also > logs all printed values): > > (def wa-debug-agent) > > (defn wa-debug-make [] > (def wa-debug-agent (agen

Re: Memory Characteristics of Persistent Datastructures

2009-10-05 Thread Volkan YAZICI
On Sun, 4 Oct 2009, Elliott Slaughter writes: > You're right, it was a memory leak, although it took me hours to find. > Clojure's lazy lists were responsible for the leak; I wasn't honestly > expecting this innocent looking code to be so insidious > > (defn leak [] > (loop [v [0 0]] >

"ensure" Usage

2009-09-29 Thread Volkan YAZICI
Hi, Can anybody give an example to the usage of "ensure". I couldn't figure out what exactly it does from its documentation string. Regards. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post

Re: Adding Classpaths On The Fly

2009-09-27 Thread Volkan YAZICI
For the record, I'm forwarding below reply from Stuart Sierra. On Fri, 25 Sep 2009, Stuart Sierra writes: > On Sep 25, 3:02 am, Volkan YAZICI wrote: >> - (System/setProperty >>"java.class.path" >>(str (System/getProperty "java.class

Adding Classpaths On The Fly

2009-09-25 Thread Volkan YAZICI
Hi, I'm trying to add a classpath to the current Clojure REPL session on the fly. (Particularly, I extracted shcloj-code.tgz of Programming Clojure to /tmp/code directory, and trying to load /tmp/code/examples/snake.clj file.) For this purpose, I tried below two steps with no luck. - (System/set

Re: problems with slime and emacs

2008-10-31 Thread Volkan YAZICI
On Nov 1, 4:47 am, Chanwoo Yoo <[EMAIL PROTECTED]> wrote: > Hi. With a latest version of slime, I can not make slime working > properly with clojure on Mac(Leopard). I tried it as instructions of > clojure wiki, a readme file in swank-clojure, and emacs/slime/clojure > tutorial on ubuntu, but in t

Re: Clojure documentation via mind map diagram

2008-10-31 Thread Volkan YAZICI
On Oct 31, 9:06 am, bc <[EMAIL PROTECTED]> wrote: > On my blog, I've posted an alternative way to navigate the Clojure > documentation:http://bc.tech.coop/blog/081031.html While this is being said, does Rich Hickey consider switching the pages on the Clojure website to a more consistent documenta

Re: problems with slime and emacs

2008-10-31 Thread Volkan YAZICI
On Oct 31, 5:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm struggling to get slime and emacs to work together. I copied the > code from the readme included with swank-clojure, but am running into > an error. Just for the records, there are some problems with both swank-clojure code