Re: [ANN] `comidi`: a committee approach to defining HTTP routes

2015-07-01 Thread Daniel Jomphe
Chris, this is definitely interesting. Quickly pluggable metrics & swagger & trapperkeeper componentization sure are useful integrations. Doing a quick review, it surprised me a bit how many dependencies you brought into comidi [de

Re: How to share the large files that can not fit in Github?

2015-06-22 Thread Daniel Jomphe
Since you mentioned GitHub, have you looked at Git Large File Storage? https://github.com/blog/1986-announcing-git-large-file-storage-lfs On Monday, June 22, 2015 at 4:09:31 PM UTC-4, Mohit Thatte wrote: > > AWS S3 is a great place to put large files >

Re: [ClojureScript] Re: [ANN] Silk, an isomorphic routing library for Clojure and ClojureScript

2015-04-10 Thread Daniel Jomphe
This thread over Silk, Bidi and Secretary has been very interesting. I looked at the three projects to see how they evolved after this thread started. Any cross-pollination or progress worth sharing now that I've missed? >From what I could gather: * Secretary is evolving towards a conservative

Re: Clojure for web project? Talk me into it!

2014-04-29 Thread Daniel Jomphe
Not to make it more complicated for you, but have you looked at Hoplon too? http://hoplon.io/ I was *very* impressed by the author's presentations, the later of which is https://www.youtube.com/watch?v=wVXjExRiFy0 And podcast about it: http://thinkrelevance.com/blog/2014/03/18/alan-dipert-cogni

Re: [ANN] CloCoP - constraint programming for Clojure

2013-09-12 Thread Daniel Jomphe
So then you'd also need a 0.3.0 branch to allow people to pull-request new features and/or breaking changes, since those things are not semantically ok to do in a patch release (the 1 in 0.2.1). Of course there are many other ways to look at this workflow thing around pull requests, versioning

What is wrong with ClojureQL?

2012-03-24 Thread Daniel Jomphe
Since Korma appeared, it seems ClojureQL isn't mentioned anywhere anymore. Are there solid reasons why Korma took all the attention to itself? Are there situations in which ClojureQL would be more recommended than Korma? In case nobody remembers CQL : http://clojureql.org/ -- You received this

Re: A New Core.logic Primer

2012-03-14 Thread Daniel Jomphe
On Wednesday, March 14, 2012, Dan wrote: > > David Nolen wrote: > >> Thanks to Edmund Jackson we have a new primer for core.logic: >> https://github.com/clojure/core.logic/wiki/A-Core.logic-Primer > > > [...] I think you should say a word about prolog and mention that unlike > it core.logic isn't

Re: Can Clojure be as readable as Python or Ruby ?

2012-03-09 Thread Daniel Jomphe
On Thursday, March 8, 2012 9:33:04 PM UTC-5, puzzler wrote: > > I love these ideas. I think your final comment is especially insightful. > I have no problem writing Clojure code, I just find it unnecessarily taxing > to read it. The idea of separating the two, and possibly having a > read-mod

Re: Must a page refresh fire an init event?

2012-01-21 Thread Daniel Jomphe
ClojureScript One is built on top of Ring, which provides nice middleware for handling cookies [1]. You may want to search for "wrap-" on the web page of One's marginalia documentation to see where you could add this middleware [2]. [1] https://github.com/mmcgrana/ring/wiki/Cookies [2] http://c

Re: Must a page refresh fire an init event?

2012-01-21 Thread Daniel Jomphe
ponse workflow. No state can survive through a browser refresh in any case unless the developer provisioned one of those ways for the state to flow through. Daniel Jomphe wrote: > > Folcon wrote: >> >> I'm trying out Clojurescript one, but whenever I refresh the page the >&g

Re: Must a page refresh fire an init event?

2012-01-21 Thread Daniel Jomphe
Folcon wrote: > > I'm trying out Clojurescript one, but whenever I refresh the page the init > event appears to fire so I lose the current state I'm in. > > How can I set it so that the init event only resets my state if I don't > have any? (I'm intending to have an explicit reset event.) > That

Re: Breaking news - Counterclockwise sponsored by Relevance !

2012-01-19 Thread Daniel Jomphe
Congrats Laurent, and thanks Relevance! -- 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 unsubscr

Curator for ZooKeeper in Avout

2012-01-18 Thread Daniel Jomphe
I know ZooKeeper may not be wholly part of Avout's future, but I just remembered that one using zk may really much want to use it through Curator to ease that a lot. I'm not sure, but one of the highlights looks like Curator could be used to allow embedding zk inside Avout, either directly (as

Re: [ANN] ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread Daniel Jomphe
Will we be able to read the account of the experience of translating the app from CoffeeScript to ClojureScript? And/or reading both code bases. Not sure if this account is covered by https://github.com/brentonashworth/one/issues/22 -- You received this message because you are subscribed to t

Re: Literate Programming example

2011-11-20 Thread Daniel Jomphe
On Sunday, November 20, 2011 6:17:13 AM UTC-5, robermann79 wrote: > > FYI: some time ago the Opensuse project used such a collaborative tool > (http://www.co-ment.com) in order to get a shared mindset of its > goals. > This was the result, see how clicking on higlight words points to > their commen

Re: Literate Programming example

2011-11-20 Thread Daniel Jomphe
On Sunday, November 20, 2011 5:50:31 AM UTC-5, thorwil wrote: > > I'm following one or the other Free Software project where an incredible > amount of discussions happen regarding work-flow and features. So much > thought, so many decisions on details, but for the most part, the > implementation

Re: Literate Programming example

2011-11-19 Thread Daniel Jomphe
On Saturday, November 19, 2011 2:37:48 PM UTC-5, TimDaly wrote: > > However, as Knuth points out and as I've already experienced, writing > a program in literate form vastly reduces the errors. There are two > causes I can find. > > First, if I have to write an explanation then I have to justify m

Re: Literate Programming example

2011-11-18 Thread Daniel Jomphe
On Friday, November 18, 2011 7:17:08 AM UTC-5, TimDaly wrote: > > Many of you asked me to show an example of a literate > program and demonstrate the use of the tangle function. > > I usually use Latex for literate work but I've done > this example using HTML and tags. > > I've written a self-refe

Re: Literate programming

2011-10-27 Thread Daniel Jomphe
I would gladly pay for such a thing to materialize on my screen; if it only took money to get that, I'm sure we'd all be willing to finance such an effort however we can. On Thursday, October 27, 2011 1:58:52 PM UTC-4, TimDaly wrote: > > So imagine a world where the eloquence of Rich Hickey was

Re: [ANN] dj 0.1.0 released

2011-10-12 Thread Daniel Jomphe
I'll add this context: https://github.com/bmillare/dj "dj takes the cacaphony of java, git, clojure, and build tools and mixes it into something harmonious." In a nutshell, dj is an attempt to make a clojure distribution. Like leiningen and maven, dj resolves dependencies, however, dj tries to

Adding ClojureScript support to a noir-based project

2011-08-10 Thread Daniel Jomphe
For what it may be worth to you: In trying out the Noir framework (which neatly assembles ring+compojure+hiccup+other stuff) for its new bindings to ClojureScript (using noir-cljs and pivot), I thought some people might like to see what kind of diff is needed to add basic ClojureScript support

Re: Feedback on the name of a new project

2009-07-20 Thread Daniel Jomphe
Nevermind, I found something better that I know will be nice. On Jul 20, 5:09 pm, Daniel Jomphe wrote: > I'm starting development on a new product with eventual commercial > possibilities. This project should be very polyglot-language based, > but put clojure to the forefront.

Feedback on the name of a new project

2009-07-20 Thread Daniel Jomphe
I'm starting development on a new product with eventual commercial possibilities. This project should be very polyglot-language based, but put clojure to the forefront. I'm trying to find a name that doesn't appear too much in Google and doesn't necessarily mean anything, and whose d*main is avail

Re: Clojure at LispNYC tonight 7pm

2009-07-05 Thread Daniel Jomphe
I second this suggestion to add the video to clojure.blip.tv. It felt very awkward in 2009 to have to download this thing instead of stream it. :) I just watched it and wanted to say it's a very nice show of Clojure's Java interop in practice. Congrats to Stuart. It was also very nice to learn th

Article on Dispatch

2009-06-28 Thread Daniel Jomphe
I think the following article I wrote may help properly understanding dispatch. I submit here for your pleasure/review. First paragraph: "I believe multiple dispatch is known to be hard to understand. When I first read about it, for some reason, it took me quite a lot of thinking before I really

Re: What books have helped you wrap your brain around FP and Clojure?

2009-06-08 Thread Daniel Jomphe
I second most of the book suggestions already mentioned (those that I've read). If you like reading papers, I strongly suggest you take a look at "Can Programming Be Liberated from the von Neumann Style?": http://www.stanford.edu/class/cs242/readings/backus.pdf This paper will help you with two

Re: Optimizing cross-product mappings

2009-06-05 Thread Daniel Jomphe
You guessed mostly right, Daniel :) This guy hashed some fields of his client's database, replacing the original content with its hashed version. I don't know everything, but he at least obfuscated the addresses. He (and the client who asked to "encrypt with MD5") thought he was actually encryptin

Re: Optimizing cross-product mappings

2009-06-05 Thread Daniel Jomphe
;ve achieved ~71% optimization, which is already quite good, thank you all. On Jun 5, 11:17 am, Stuart Sierra wrote: > On Jun 5, 10:56 am, Daniel Jomphe wrote: > > > I need to generate a list of all possible American zipcodes, MD5- > > digested. Later on, I will need to do much more

Re: Optimizing cross-product mappings

2009-06-05 Thread Daniel Jomphe
Thanks for your replies. Sean: Type-hinting the String didn't help. And for some reason, defn'd function is 1.5x slower than my anonymous one. Daniel: Thanks for the info. Once my algorithms are fine (if they can get finer), I'll definitely narrow down the zips5 seed, and use your suggested MD5 d

Re: Silly question from Programming Clojure

2009-06-05 Thread Daniel Jomphe
I support the CTMCP recommendation. I learned a lot from its first few hundred pages. (Kept the rest for later.) On Jun 5, 2:45 am, Laurent PETIT wrote: > I just got my own copy of the CTM book (Concepts, Techniques and > Models of computer programming) (http://www.info.ucl.ac.be/~pvr/book.html)

Optimizing cross-product mappings

2009-06-05 Thread Daniel Jomphe
I need to generate a list of all possible American zipcodes, MD5- digested. Later on, I will need to do much more involving stuff, processor-wize, with this. But already, generating a naive list of all possible zipcodes is taking quite a deal of time: user> (time (dorun (take 100 (all-zips)))

Re: Concerns About Pushing Clojure 1.0.0 to Maven Central Repo?

2009-05-12 Thread Daniel Jomphe
Laurent PETIT wrote: > > On 8 Mai, 01:39, Laurent PETIT wrote: > > > note that clojure must be compatible with JDK 1.5, so if you compile with > > > 1.6, maybe you should verify the compatibility mode (not sure if what I > > > write here makes sense, I'm not a specialist in javac retrocompatibili

Re: The Path to 1.0

2009-04-22 Thread Daniel Jomphe
Daniel Jomphe wrote: > Rich Hickey wrote: > > I don't mind the build producing clojure-1.0.0.jar etc, but it doesn't > > now. The master build is Ant. Where is the best place to put the > > version info so it can be leveraged by Ant, Maven and the clojure core

Re: The Path to 1.0

2009-04-22 Thread Daniel Jomphe
Rich Hickey wrote: > I don't mind the build producing clojure-1.0.0.jar etc, but it doesn't > now. The master build is Ant. Where is the best place to put the > version info so it can be leveraged by Ant, Maven and the clojure core > runtime in order to produce *clojure-version* ? > > What changes

Re: The Path to 1.0

2009-04-21 Thread Daniel Jomphe
Laurent PETIT wrote: > >  version: 1.0.0-rc1-SNAPSHOT > >  yields:  clojure-1.0.0-rc1-.jar > >           (and ...-slim.jar, ...-sources.jar) > > There it is. But why having "" in the name of the jar, > shouldn't it just be "SNAPSHOT" (as far as I remember) ? > > That is: > > { :major 1 :minor 0 :i

Re: The Path to 1.0

2009-04-21 Thread Daniel Jomphe
Paul Stadig wrote: > Others have commented on the whole groupId, artifactId, etc., etc. But in > terms of the parts of the version number, they are named > ..- as documented here: > > http://www.sonatype.com/books/maven-book/reference/pom-relationships-... Thanks for the info. So I was wrong in

Re: The Path to 1.0

2009-04-21 Thread Daniel Jomphe
Laurent PETIT wrote: > I have not followed maven2 concerning this "qualifier" thing. Right. The first (small) part of my post, which referred to yours, was strictly about versioning, and specifically about the end of the version string, related to snapshots. Then I addressed the classifier as an

Re: The Path to 1.0

2009-04-20 Thread Daniel Jomphe
Rich Hickey wrote: > I'm unfamiliar with the POM version coordinate system - any hints? Maven takes the version as whatever-formatted string, but recognizes a conventional (.endsWith "1.0.0-SNAPSHOT" "-SNAPSHOT"), like described by Laurent PETIT. So "whatever-SNAPSHOT" means we're going someday t

Re: The Path to 1.0

2009-04-20 Thread Daniel Jomphe
Laurent PETIT wrote: > > I'd suggest calling :release something else, like :revision > > or :patch. > I like the term "service" used in Eclipse terminology: > "the service segment indicates bug fixes" > > (The numbering scheme for Eclipse uses major, minor, service and > qualifier : "the qualifier

Re: The Path to 1.0

2009-04-17 Thread Daniel Jomphe
> Overall, I'm getting feature requests (more change!) and not a strong > drive for 1.0 stability. If you feel otherwise, please speak up. > Otherwise, my conclusion is that 1.0 may be more important for not-yet- > users wary of working from source. My thought was that I very much like that you d

Re: DISCUSS: tests that read and write files

2009-04-09 Thread Daniel Jomphe
Stuart Halloway wrote: > concerns: > (1) Would like to see the file after a failed test. > (2) [...] I would be much more   > comfortable not having to rely on code to write the file first.   > Doesn't feel like a unit test. > > But I am much more interested in having a shared approach that all  

Re: getting code coverage into clojure-contrib builds?

2009-04-09 Thread Daniel Jomphe
Stuart Halloway wrote: > I will go and bug the emma folks, but first wanted to ask here if > there is any specific reason that Clojure-generated bytecode might > surprise emma? I might be totally wrong, but from what I've heard, Emma's development has stopped a few years ago and it doesn't suppor

Re: New release of the enclojure plugin is up.

2009-04-08 Thread Daniel Jomphe
CuppoJava wrote: > I'm just wondering if anyone who's tried this and the IntelliJ plugin > can comment on how they compare. > > I'm wondering if Enclojure has some basic s-exp functions, like > Surround-With-(). For different reasons, I've been constantly switching between NetBeans, IntelliJ and

Re: How do you handle different string encodings?

2009-04-06 Thread Daniel Jomphe
I finally worked it all out. For future reference, here's a record of my research on this: http://stackoverflow.com/questions/715958/how-do-you-handle-different-string-encodings Daniel Jomphe wrote: > I made some progress. > > [By the way, NetBean's console displays *ev

Re: How do you handle different string encodings?

2009-04-03 Thread Daniel Jomphe
n the source file, it looks like it's impossible to encode it correctly, unless one first decodes it from the source file's encoding. But then, I don't yet know how to do this without actually reading the source file. :\ Daniel Jomphe wrote: > I tried under eclipse. > > Def

Re: How do you handle different string encodings?

2009-04-03 Thread Daniel Jomphe
sn't that sound like offloading a problem to users? Isn't there something reliable that can be done in the code? Daniel Jomphe wrote: > Sorry for all these posts. > > I pasted my last post's code into a fresh repl (not in my IDE), and > here's what I got (cleaned up): &

Re: How do you handle different string encodings?

2009-04-03 Thread Daniel Jomphe
I'm running on Mac. In IDE (IntelliJ): Java: Apple's 1.6 Clojure: LaClojure's version (I don't know) In Terminal: Java: Apple's 1.5.0_16 Clojure: 1338, 2009-04-01 Paul Stadig wrote: > Works For Me (TM). > > user=> (def s "québécois français") > #'user/s > user=> (print s) > québécois françaisni

Re: How do you handle different string encodings?

2009-04-03 Thread Daniel Jomphe
at to make out of it. My terminal (Apple Terminal) supports the encoding, and prints correctly s and snc out of the box. When I use with-out-encoded, I actually screw up both s and snc's printing. Daniel Jomphe wrote: > Now that I know for sure how to bind *out* to something else over > Sy

Re: How do you handle different string encodings?

2009-04-03 Thread Daniel Jomphe
Now that I know for sure how to bind *out* to something else over System/out, it's time to bring back my encoding issues into scope: (import '(java.io PrintWriter PrintStream)) (defmacro with-out-encoded [encoding & body] `(binding [*out* (java.io.PrintWriter. (java.io.PrintStream. S

Re: How do you print to standard output without using *out*?

2009-04-03 Thread Daniel Jomphe
Kyle Schaffrick wrote: > Could you just make a new Var (like *always-stdout* or something) and > assign *out* to it at program start? This way the dynamic bindings on > *out* don't affect your new Var and you can continue using it to access > the "real" stdout. As long as I'm willing to lose the

Re: How do you print to standard output without using *out*?

2009-04-03 Thread Daniel Jomphe
sked for auto-flushing, I need to do so manually. Daniel Jomphe wrote: > Since I can't find the way to solve this issue, let's tackle it at a > more fundamental level. > > First, I need to make sure I can print to standard output without > using *out*, so I can later, tempora

Re: How do you print to standard output without using *out*?

2009-04-03 Thread Daniel Jomphe
ut. Later, I'll need it to be wrapped into something that gives it a proper encoding. user=> (import '(java.io PrintWriter PrintStream)) nil user=> (.print (PrintWriter. (PrintStream. System/out) true) "bonjour") nil Do you know how to make this work? Daniel Jomp

Re: doseq vs. map

2009-04-02 Thread Daniel Jomphe
Daniel Jomphe wrote: > Basically, since your map wasn't needed, it wasn't "realized"/ > executed. Laziness. Better said: Basically, since your map's results weren't used, it wasn't "realized"/ evaluated. That's

Re: doseq vs. map

2009-04-02 Thread Daniel Jomphe
>From map's docstring: "Returns a lazy sequence [...]" So I guess you applied map at the top level and wondered why side- effects didn't happen. Try: (dorun (map #(form-with-side-effects %) a-list)) Or, for fun: (take 1 (map #(form-with-side-effects %)) Basically, since your map wasn't n

How do you parse xml files with different encodings?

2009-04-02 Thread Daniel Jomphe
Let's say I have this file to parse: Québécois français I spent many hours trying different ways of doing it, but still haven't found one. Here are probably my best attempts: (def n "ISO-8859-1") (defmacro with-out-encoded [encoding & body] `(binding [*out* (java.io.OutputStreamWr

Re: Full Clojure, Right Now! (tm)

2009-04-02 Thread Daniel Jomphe
by its > symbol/name, you must replace the underscores in the filename by an - , so > try : > >  (ns myns >      (:use clojure.contrib.duck-streams)) > > HTH, > > -- > Laurent > > 2009/4/2 Daniel Jomphe > > > > > Thanks to everybody for their (sometim

Re: Full Clojure, Right Now! (tm)

2009-04-02 Thread Daniel Jomphe
Thanks to everybody for their (sometimes highly detailed) answers. -- ECLIPSE -- It's nice that contrib is indeed bundled in clojuredev. Core clojure works, but I get the following: (ns myns (:use clojure.contrib.duck_streams)) ==> [...].Exception: namespace 'clojure.contrib.duck_stre

Full Clojure, Right Now! (tm)

2009-04-01 Thread Daniel Jomphe
Let's say I *hate* dealing with Java classpaths, especially within IDEs. Somehow, it's always the hardest configuration part of setting up a project. Let's add I want to use clojure + clojure.contrib. If my mileage is representative at all of most newcomer's experiences trying to get acquainted

Re: rules for writing macros

2009-02-03 Thread Daniel Jomphe
Mark Volkmann wrote: > I see from the feedback so far that my statements are wrong. However, > I think it's true that there are *some* things you can do in a > function that you cannot do in a macro, and perhaps vice-versa. Are > those clearly documented anywhere? If not, what are some? You migh

Re: Pretty printing a function's symbol

2009-01-27 Thread Daniel Jomphe
Michael Wood wrote: > > (defn with-test-report [test fn] > > You are shadowing clojure.core/fn here. Not a problem really, but > perhaps it would be better to use a different name? Oh, and > clojure.core/test. Oh, right! Didn't think of it this way; it might be misleading to any future reader

Re: Pretty printing a function's symbol

2009-01-26 Thread Daniel Jomphe
Daniel Jomphe wrote: > Now, all I need is to understand why my use of > (:name (meta (var expect#))) doesn't work. Hmm, seeing (var ...) is a special form, it probably doesn't evaluate its argument. Thus it tries to give me the interned symbol of the let- bound expect#, which is

Re: Pretty printing a function's symbol

2009-01-26 Thread Daniel Jomphe
Daniel Jomphe wrote: > What is (var ...)? I didn't find it in the api docs, nor in the Vars > and Environment page. Sorry, I didn't search well enough; found it. Now, all I need is to understand why my use of (:name (meta (var expect#

Re: Pretty printing a function's symbol

2009-01-26 Thread Daniel Jomphe
Perry Trolard wrote: > You can get the symbol that names the function from the Var's > metadata, like: > > user=> (:name (meta (var =))) > = Thank you Perry. What is (var ...)? I didn't find it in the api docs, nor in the Vars and Environment page. I'm yet to make your code work for my specifi

Pretty printing a function's symbol

2009-01-26 Thread Daniel Jomphe
Hi, I'm learning Clojure by playing with a simple test toolkit: (fn-with-tests + [[= 2 [1 1]] [= 2 [1 1]] [= 2 [1 0]] [= 2 [2 0]]]) .. FAIL: [# 2 [1 0]] . === Tests Done === Some tests FAILED! false As you can see, I want to report t

Re: Is 'every?' broken?

2009-01-21 Thread Daniel Jomphe
wwmorgan wrote: > map is lazy, but to-array is not. The output you are seeing is the > result of to-array needing to realize every element of its collection. > every? only applies its predicate to as many elements of its > collection as are necessary. See the following: Thank you. This became m

Is 'every?' broken?

2009-01-21 Thread Daniel Jomphe
(defn print-arg [x] (let [result# x] (println (format " [%s] " result#)) result#)) (every? true? (map #(print-arg %) [true false true])) ; [true] ; [false] ;false (ev

Re: Yet another html templating library

2009-01-20 Thread Daniel Jomphe
Christophe Grand wrote: > > Therefore, this feels a bit misleading to me: "this separates design > > from code even further". I just want to point out StringTemplate helps > > separating design from code, but its main goal is separating the View > > from Controller and Model in a formally strict

Re: Yet another html templating library

2009-01-19 Thread Daniel Jomphe
Stuart Sierra wrote: >  Very interesting, Christophe. I've been playing with StringTemplate > lately, but this separates design > from code even further. Can it do conditionals, as in "if this > variable is true, includes this HTML element"? ...and the following

Re: post on test-is and testing styles

2009-01-18 Thread Daniel Jomphe
Stuart Sierra wrote: > http://stuartsierra.com/2009/01/18/tests-are-code > > Comments welcome here or on the blog. That's funny Stuart; The question I asked about 'reduce' and 'and' was exactly for this purpose. The first programming exercise I gave myself to start learning Clojure was to build

Re: Macros in interaction with Functions

2009-01-17 Thread Daniel Jomphe
Stuart Sierra wrote: > > - The reader performs a few substitutions, then gives the resulting > > code to the compiler. > > - The compiler starts by expanding macros into their substitution. > > --- Thus, for functions, there's no such thing as macros. > > --- Thus, all that functions see of mac

Re: Macros in interaction with Functions

2009-01-16 Thread Daniel Jomphe
Stuart Sierra said: > It's not covered much. You get used to it. Think of it this way -- macros > only exist during compilation. Functions like "apply" get evaluated at > run-time. A macro like "and" has no value at run-time, so you can't use it > as an argument to a function. I'll tell y

Macros in interaction with Functions

2009-01-15 Thread Daniel Jomphe
Stuart Sierra wrote: > FYI, the reason "and" doesn't work is that it's a macro, not a > function.  Only functions can be used with "apply". When I found that out, I was surprised. My knowledge of lisp comes from reading, in the past few months: - ANSI Common Lisp - Practical Common Lisp and, som

Re: How to reduce a list of booleans?

2009-01-15 Thread Daniel Jomphe
> (every? identity [true false true]) So obvious, yet so overlooked each time I read the function names in the api! Thanks to both you! Looks like I'll be having a bunch of fun through this learning curve in the future. :) --~--~-~--~~~---~--~~ You received this m

How to reduce a list of booleans?

2009-01-15 Thread Daniel Jomphe
I'm in the following situation: (and '(true true)) ;doesn't work I tried apply, reduce, and a few other things. Reading the apidocs, reduce is said to be the proper choice to compute a boolean from a seq. But: (reduce and '(true true)) ;Exception: Can't take value of a macro: #'cloj

Re: Erlang vs Clojure

2009-01-13 Thread Daniel Jomphe
On Dec 5 2008, Luc Prefontaine wrote: > I feel we will start before Xmas to put together a prototype. > > I really want this to come to life because we could use cooperative > Clojure instances on our bus. This would also > provide us another form of persistance. Presently we rely on ActiveMq > qu