@Jürgen and Chris
Thank you very much for helping me enlarge my understanding of macros!
I realize that learning the subtleties of a macro implementation is
not easy but well worth the effort.
It is also quite interesting that a macro as it seems takes two
implicit extra arguments. I am curious
On Thu, Sep 30, 2010 at 11:54 PM, David Sletten da...@bosatsu.net wrote:
Sean, Sean...I was just making fun of your signature. :)
Phew! Just checking...
(I'm on some lists where the response to similar questions has been
You want me to do your homework?...)
--
Sean A Corfield -- (904) 302-SEAN
I found that the function read-properties is implemented in both
c.c.properties and c.c.java-utils -- is this intentional? Which one is
recommended, and why?
Regards,
Shantanu
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send
Sean, Sean...I was just making fun of your signature. :)
Phew! Just checking...
(I'm on some lists where the response to similar questions has been
You want me to do your homework?...)
The Clojure community is certainly not one of those.
Regards,
BG
--
Baishampayan Ghose
b.ghose at
On Oct 2, 2:55 am, Ross Gayler r.gay...@gmail.com wrote:
I am looking at the possibility of finding/building a declarative data
aggregation language operating on a small relational representation.
Each query identifies a set of rows satisfying some relational
predicate and calculates some
Hi,
I'd like to understand how to properly use use with additional
options, such as :only.
The current documentation for use says:
= (doc use)
-
clojure.core/use
([ args])
Like 'require, but also refers to each lib's namespace using
clojure.core/refer. Use :use in
Hi
I'm new to Clojure so thought that I would work through some basic
examples and decided upon the 99 problems (http://aperiodic.net/phil/
scala/s-99/)
I have got as far as #11. My test for this is
;p11
(deftest encodemodified-should-return-list-with-counts-when-more-than-
one
(is (=
Hi
I'm new to Clojure so thought that I would work through some basic
examples and decided upon 99 problems (http://aperiodic.net/phil/scala/
s-99/). So far I have got as far as #11 and have become a bit confused
as to why my initial solution does not work.
My test for this problem is
(deftest
I just realized the second paste was that of use, not of refer:
user= (doc refer)
-
clojure.core/refer
([ns-sym filters])
refers to all public vars of ns, subject to filters.
filters can include at most one each of:
:exclude list-of-symbols
:only list-of-symbols
user (def a [a a a b c c a])
#'user/a
user (pack a)
((a a a) (b) (c c) (a))
Now calling (map f (pack a)) will cause the function you give as the
first argument of map to be called with each of the elements of the
collection (pack a) in turn. Those elements are, in order:
(a a a) a list
Andy
Thanks. Makes complete sense when explained!
Thanks for the speedy reply.
On Oct 2, 6:27 pm, Andy Fingerhut andy.finger...@gmail.com wrote:
user (def a [a a a b c c a])
#'user/a
user (pack a)
((a a a) (b) (c c) (a))
Now calling (map f (pack a)) will cause the function you give as the
On Oct 2, 2:53 am, Shantanu Kumar kumar.shant...@gmail.com wrote:
I found that the function read-properties is implemented in both
c.c.properties and c.c.java-utils -- is this intentional? Which one is
recommended, and why?
c.c.properties is deprecated in version 1.2.0, replaced by functions
I've been using clojure with mongodb for a while now. I found that
using a nosql database system was very freeing and pleasurable,
compared to the python/sqlite combination I'd used before. However,
I'm starting to bump up against some limitations:
1. On my 32-bit Windows machine, mongodb is
I should add that my needs are fairly simple as databases go. This is
not for a webserver. I just need to locally store data which is too
big to fit in memory, and store it in a durable fashion. Typically,
my data is a uniquely identifying string combined with a number of
numeric attributes. I
On Sat, Oct 2, 2010 at 7:32 AM, Albert Cardona sapri...@gmail.com wrote:
I'd like to understand how to properly use use with additional
options, such as :only.
This doesn't directly address your request but it raised a question in my mind:
Should the examples go in the core documentation or is
On Sat, Oct 2, 2010 at 2:01 PM, Mark Engelberg mark.engelb...@gmail.comwrote:
So I'm thinking it's time to move to another database. Doing a
websearch, I couldn't really figure out which options are ready for
prime-time with respect to Clojure. For example, searching on
clojure and couchdb
On Sat, Oct 2, 2010 at 19:45, Stuart Sierra the.stuart.sie...@gmail.comwrote:
On Oct 2, 2:53 am, Shantanu Kumar kumar.shant...@gmail.com wrote:
I found that the function read-properties is implemented in both
c.c.properties and c.c.java-utils -- is this intentional? Which one is
On Sat, Oct 2, 2010 at 21:29, B Smith-Mannschott bsmith.o...@gmail.comwrote:
On Sat, Oct 2, 2010 at 19:45, Stuart Sierra
the.stuart.sie...@gmail.comwrote:
On Oct 2, 2:53 am, Shantanu Kumar kumar.shant...@gmail.com wrote:
I found that the function read-properties is implemented in both
It's very simple, you only need to
1. create a directory with all needed templates
2. (fleet-ns templates path/to/that_dir [:fleet :xml])
3. use templates.* functions just as any other
Give it a try :)
On Sep 2, 1:39 am, Sean Corfield seancorfi...@gmail.com wrote:
On Wed, Sep 1, 2010 at 2:14
On Sat, Oct 2, 2010 at 19:45, Stuart Sierra the.stuart.sie...@gmail.comwrote:
On Oct 2, 2:53 am, Shantanu Kumar kumar.shant...@gmail.com wrote:
I found that the function read-properties is implemented in both
c.c.properties and c.c.java-utils -- is this intentional? Which one is
Good question. The jvm debuggers are inherently linenumber oriented
as is the JDI. The question is can we overload the linenumber
concept to map more closely to what we want to do with Clojure.
It's on my list of things to explore, but that's getting to be a
pretty long list, and it's not at
I follow this thread, but haven't read Clojure's source. I have a
similar question -
http://groups.google.com/group/clojure/browse_thread/thread/46415b89c7b311f6,
but haven't got any responses yet.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To
What is the recommended manner in which to let your application know its on
a dev machine?
I'm building an app that sends emails based on certain events, however when
I'm developing locally I'd rather it print the email to my log file. I have
a variable in that namespace: *send* which is def'ed
Thanks Saul. That's all useful stuff. At this stage I am trying to
simultaneously work out what my requirements should be and map out the
space of implementation possibilities - so it's a matter of casting
the net as widely as possible and kicking the tyres on everything in
kicking range.
Ross
On Fri, Oct 1, 2010 at 13:32, George Jahad cloj...@blackbirdsystems.netwrote:
For your delectation:
http://www.vimeo.com/15462015
This is sick! In the good sense!
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
On Oct 2, 4:11 pm, B Smith-Mannschott bsmith.o...@gmail.com wrote:
However, I can't find the properties functions in clojure-contrib
1.3.0-*. Did I accidentally delete them when transitioning to
modularized contrib?
fixed.
https://www.assembla.com/spaces/clojure-contrib/tickets/100
On Fri, Oct 1, 2010 at 17:55, Ross Gayler r.gay...@gmail.com wrote:
Hi,
This is probably an abuse of the Clojure forum, but it is a bit
Clojure-related and strikes me as the sort of thing that a bright,
eclectic bunch of Clojure users might know about. (Plus I'm not really
a software
I just submitted a patch for this issue.
On Oct 1, 2:42 pm, ataggart alex.tagg...@gmail.com wrote:
I'm working on the latter right now. Note there's already a ticket
for the reflection problem:https://www.assembla.com/spaces/clojure/tickets/446
On Oct 1, 12:24 pm, Nicolas Oury
I'd like to announce my Visual Studio 2010 Clojure extension project,
vsClojure. The extension is not yet complete but provides a base for
further enhancements. Currently, it supports syntax highlighting,
auto-indentation, brace matching, a Clojure project type, repl
support, and a few
On Sat, Oct 2, 2010 at 3:36 PM, Michael Ossareh ossa...@gmail.com wrote:
In java I'd normally have a conf file somewhere, and that had a range of
issues so I'm wondering if there is something more lispy
Actually it works really well to use the classpath. Leiningen (and
presumably other tools)
I've noticed a bug in my implementation of the durable ref, or dref
construct. This is an attempt to add durability to the STM. drefs
have all of the ACI guarantees of refs, with the additional property
of being durable, so changes to the state of the identity are
durable. The API is that there
On Sat, Oct 2, 2010 at 6:36 PM, Michael Ossareh ossa...@gmail.com wrote:
What is the recommended manner in which to let your application know its on
a dev machine?
I use an environment variable that determines which config (dev, production,
test) gets loaded.
APPNAME_CONFIG=development lein
32 matches
Mail list logo