Re: precise numbers

2010-10-12 Thread Luka Stojanovic
On Tue, 12 Oct 2010 20:53:16 +0200, cej38 junkerme...@gmail.com wrote: On Oct 12, 12:50 pm, David Sletten da...@bosatsu.net wrote: This discussion may help:http://www.gettingclojure.com/cookbook:numbers#comparing-floats I originally tried something like float= described in the link, I give

Re: misunderstanding collection

2010-08-25 Thread Luka Stojanovic
On Wed, 25 Aug 2010 16:06:15 +0200, Glen Rubin rubing...@gmail.com wrote: After toying around at the REPL I realize that I have been working with a heretofore invalid understanding of collections. For example, working with the following collection(s): signal: (((1 2 3 4) (2 3 4 5) (3 4 5 6))

Re: trouble using nested map fn

2010-08-23 Thread Luka Stojanovic
On Mon, 23 Aug 2010 17:26:44 +0200, Glen Rubin rubing...@gmail.com wrote: I am trying to write a fn to correlate 2 signals using 3 nested map fn. I have 2 collections of data. THe first group of signals called target looks something like this. target: ( (1,2,3,4) (2,3,4,5) ...) The second

Re: Simple Regex Question

2010-08-22 Thread Luka Stojanovic
On Sunday 22 August 2010 01:11:38 CuppoJava wrote: Hi Everyone, I'm extremely stuck on this simple regex question, which I'm sure someone with a little more experience will be able to write in a second. I would really appreciate the help. Given a string consisting of a's, b's, and spaces:

Re: multiline strings and multiline comments ?

2010-08-16 Thread Luka Stojanovic
/* this is a multiline comment */ (comment This is a multiline comment?) -- 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 -

Re: Exception when trying to require clojure.contrib.io

2010-08-16 Thread Luka Stojanovic
I have same problem: I'm using NetBeans 6.9.1/Enclojure, clojure-SNAPSHOT, running on Ubuntu 10.04 If I create Clojure project everything works OK. If I add Clojure scripts in existing Java project (and copy appropriate parts of pom.xml into that project) :require causes error as above,

Re: Exception when trying to require clojure.contrib.io

2010-08-16 Thread Luka Stojanovic
Actually, it started working with require, and as far as I'm concerned, I've done nothing to fix the problem. On Mon, 16 Aug 2010 20:06:32 +0200, Luka Stojanovic li...@magrathea.rs wrote: I have same problem: I'm using NetBeans 6.9.1/Enclojure, clojure-SNAPSHOT, running on Ubuntu 10.04

Re: Transpose and cast and max

2010-07-30 Thread Luka Stojanovic
On Fri, 30 Jul 2010 16:03:17 +0200, Base basselh...@gmail.com wrote: Hi All I have a vector in the following format: [ [M 3.4 5.6] [L 4.2 6.6] [L 4.9 7.9] [L 1.1 2.4][L 5.4 4.5] ] I would like to create a vector that contains the max values of each of the second and third values from