Another option to consider:
Treat the problem as a `reduce` on the sequence of adjustments where the
processing of each adjustment depends on the user input and cancel makes the
processing return (reduced nil) to halt the reduction. That will stop
automatically when the sequence of adjustments
be sufficient for you.
Then in our code we test:
(System/getProperty lein.profile.repl)
This will be true if you’re in a REPL and nil otherwise.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist
the default JVM options —
we do different things on different platforms — it returns a vector of JVM
options. So :jvm-opts [-Dlein.profile.repl=true] might be sufficient for you.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good
sonatype
[exec] Retrieving
org/clojure/clojure/1.7.0-master-SNAPSHOT/clojure-1.7.0-master-20150220.180325-29.jar
from sonatype
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880
between my project.clj (which works) and yours is the
trailing / on the repository address:
:dependencies [[org.clojure/clojure 1.7.0-master-SNAPSHOT]]
:repositories [[snapshots
https://oss.sonatype.org/content/repositories/snapshots/;]]
Sean Corfield -- (904) 302-SEAN
An Architect's
Cecil,
Have you looked at the community documentation for java.jdbc? It has some
examples of DDL and metadata:
http://clojure-doc.org/articles/ecosystem/java_jdbc/using_ddl.html
http://clojure-doc.org/articles/ecosystem/java_jdbc/using_ddl.html
Sean
On Feb 25, 2015, at 10:35 AM, Cecil
-by-keys) that encapsulates the identifier/entity
mappings and the DB connections we use, but we’re slowly moving away from that
toward raw clojure.java.jdbc and leveraging the :row-fn and :result-set-fn keys
more.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection
, as I understand it. We're either building SQL from a map of
key/value pairs or from composable pieces using HoneySQL (for our complex
reports that are all driven by data as well).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good
Could it perhaps be this bug at work?
http://dev.clojure.org/jira/browse/CLJ-1604
http://dev.clojure.org/jira/browse/CLJ-1604
Sean
On Feb 20, 2015, at 1:31 PM, Sven Richter sver...@googlemail.com wrote:
A user reported an error for closp which I cannot make sense of:
,
worldsingles.transparensee - search engine, worldsingles.data - our general
persistence layer). Our average namespace is about 200 lines long (we have just
over 100 namespaces in our main app - they range from 16 lines to 1,266).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org
:
https://github.com/seancorfield/lein-fregec/tree/master/example
Leiningen is available from http://leiningen.org
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You
:52 lein-template-0.5.4.pom.sha1
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
dev.Objective() - Developing Apps, Developing Skills, Developing Community
-- May 12-15, 2015 - Bloomington, MN - http://devobjective.com
--
You received this message because you
probably avoid it. Do
you have a specific example that seems like it should be better documented?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message
Which version of Clojure are you using?
Does clojure-hadoop or Schema include AOT-compiled versions of other libraries
and/or core namespaces?
If the answers are 1.7.0 Alpha 5 and yes then you've run into the same
problem I and a few others did: the previously undefined behavior of loading
Just FYI, we took 1.7.0-alpha5 into production today. We’ll let you know if we
run into any issues. Other than tripping over the AOT/JIT thing with
core.typed, it’s been smooth sailing on dev/QA…
…and we actually have a transducer in production now!
Sean
On Jan 10, 2015, at 7:36 AM, Alex
/clojures-macro-define-a-binding-whose-name-is-composed-from-an-argument/4288738#4288738
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because
Do you perhaps have both AOT and JIT versions of that namespace loaded?
See the thread that this post is part of:
https://groups.google.com/d/msg/clojure/jj87-4yVlWI/UpsYOPZ3FicJ
https://groups.google.com/d/msg/clojure/jj87-4yVlWI/UpsYOPZ3FicJ
Following Nicola’s suggestion, I built a version
Here’s what I see reproducing this in the REPL - this main project doesn't use
core.async (but does use a very small AOT'd library). I'm going to try to cut
this down to see if I can repro outside our main project (worldsingles.cache is
a thin wrapper over core.cache and core.memoize - moving
) AOT’d library that interfaces with log4j. All our main
projects depend on that. We did lein clean on all our projects and rebuilt all
of them from scratch on Alpha 5.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave
http://dev.clojure.org/jira/browse/CLJ-1639
http://dev.clojure.org/jira/browse/CLJ-1639
On Jan 12, 2015, at 10:37 AM, Alex Miller a...@puredanger.com wrote:
I would be helpful to me at this point to have a jira regarding this problem
which I will presume for the time being is the same in
On Jan 12, 2015, at 11:32 AM, Sean Corfield s...@corfield.org wrote:
http://dev.clojure.org/jira/browse/CLJ-1639
http://dev.clojure.org/jira/browse/CLJ-1639
It turned out to be due to core.typed whose JAR includes AOT’d versions of
core.cache and core.memoize amongst others. I’ve left
Oh, and all our apps now pass / work correctly on 1.7.0-alpha5 (I stripped
Typed Clojure out of our code base to make it all work).
Sean
On Jan 12, 2015, at 6:25 PM, Sean Corfield s...@corfield.org wrote:
On Jan 12, 2015, at 11:32 AM, Sean Corfield s...@corfield.org
mailto:s
and rebuilding
and testing our project against that version does still produce that same
exception.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received
hadn't seen this
failure last week, it had to be one of the handful of commits made immediately
prior to releasing Alpha 5.
Sean
On Jan 12, 2015, at 8:31 AM, Sean Corfield s...@corfield.org wrote:
On Jan 12, 2015, at 8:09 AM, Nicola Mometto brobro...@gmail.com wrote:
Can you try a custom
:442)
at clojure.lang.Var.invoke(Var.java:388)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.lang.Compiler.macroexpand1(Compiler.java:6606)
On Jan 11, 2015, at 4:55 PM, Sean Corfield s...@corfield.org wrote
would be nice - they've both
had a few updates since the last published releases.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you
On Jan 11, 2015, at 6:34 AM, Alex Miller a...@puredanger.com wrote:
I would greatly appreciate hearing any feedback about this (or any other)
alpha, even if it's just: everything looks ok.
I upgraded an app that uses core.async (0.1.346.0-17112a-alpha) and got this
exception on the ns that
I tried upgrading a few more apps and ran into this same problem in the absence
of core.async - but in the presence of core.cache and core.memoize so I'm
trying to create a small test case to isolate the issue.
Sean
On Jan 11, 2015, at 5:07 PM, Sean Corfield s...@corfield.org wrote
,
because we have a lot of entry points into the Clojure code) but we would like
to figure out a cleaner way to separate DB access from our business logic on a
per request basis...
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good
I can't answer the first part but I can say that at World Singles, we're using
a combination of Braintree, SBW, Paymentwall, Paypal and a few others, almost
all wrapped up in custom Clojure code.
Paymentwall is easy to integrate (since it uses a captive UI on the front end
and then just pings
On Jan 5, 2015, at 11:00 AM, gvim gvi...@gmail.com wrote:
SBW?
https://www.sbw.com -- Secure Billing Worldwide
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You
, but we think carefully about
any tests that have to do this.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed
stable version we’re
on as well as the current master snapshot so we pick up any breaking changes
before they hit a version we might go to production with.
Unlike some other languages, the official Clojure pre-release builds are
impressively stable!
Sean Corfield -- (904) 302-SEAN
An Architect's
Java 6 has been EOL for nearly two years. Java 7’s EOL is currently just four
months away. Given that Clojure 1.7 is not yet gold and 1.8 will likely be a
year away (based on previous releases), it seems reasonable to plan to drop
Java 6 support three years after it was EOL’d. A quarter of
updating to reflect what’s
really going into 1.7 at this point and what’s going to be 1.8 or later?
http://dev.clojure.org/display/design/Release.Next+Planning
http://dev.clojure.org/display/design/Release.Next+Planning
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http
Don’t store Nightcode or your projects on a path that has spaces in it. A lot
of tools don’t support spaces in paths.
Sean
On Dec 6, 2014, at 12:06 PM, Julio Berina juliober...@gmail.com wrote:
I'm trying to do Android development on a Clojure IDE called Nightcode, and
clicked 'Run' in order
://engage.devobjective.com/index.cfm#me
How do I submit a topic? http://engage.devobjective.com/index.cfm#submit
How will topics be selected? http://engage.devobjective.com/index.cfm#selected
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy
):
ClassCastException java.lang.String cannot be cast to java.lang.Number
user/do-something (form-init1785865955014487522.clj:1)
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You
])
Courtesy of Dmitry Balakhonskiy - thank you!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed to the Google
Groups Clojure
Dan, I’m with James here. Your code as presented is really hard to read for
folks used to the standard Clojure style - the strange layout of parentheses
is very distracting. The use of underscore instead of hyphen is also a bit
jarring.
I’m guessing your background is C/C++/Java and you think
https://github.com/bbatsov/clojure-style-guide
Thanks for pointing out the error in the if statement. You're correct.
Glad I was able to help.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist
is a useful technique in some situations. Would you just
outlaw it?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed
://github.com/caribou/caribou
https://github.com/caribou/caribou for example).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received this message because you are subscribed
?
I guess there’s still some confusion about what happened with Pedestal (outside
of the pedestal-users mailing list, that is)… :)
Sean
On Tue, 18 Nov 2014 19:19 Sean Corfield s...@corfield.org
mailto:s...@corfield.org wrote:
On Nov 18, 2014, at 10:57 AM, Ashton Kemerling ashtonkemerl
(future (reduce #(assoc! % :a (+ (:a %) %2)) v (range 10)))]
@f1 @f2 ; wait for futures
(persistent! @f1))
Which seems to consistently produce {:a 90} on both Clojure 1.7.0 Alpha 2 and
Clojure 1.7.0 Alpha 3.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org
result sets as arrrays JDBC-101 https://dev.clojure.org/jira/browse/JDBC-101.
Add :timeout argument to prepare-statement JDBC-100
https://dev.clojure.org/jira/browse/JDBC-100.
https://github.com/clojure/java.jdbc https://github.com/clojure/java.jdbc
Sean Corfield -- (904) 302-SEAN
is that the vast majority of Clojure
users just don’t have the Windows expertise needed to do much about it :(
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
--
You received
?
* Would you want this to be the default behavior (potentially breaking)?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed
the
ability to add fields to maps with no client code changes required, I think
it's actually _easier_ in FP, in nearly all _real world_ cases.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist
Asking questions about race and/or gender can be a very sensitive issue and a
lot of people would refuse to complete those sections, or may even refuse to
complete the survey at all if such questions were included - for a variety of
very valid reasons.
Sean
On Oct 14, 2014, at 9:23 PM, Zack
objection to
collecting such demographic information). As I said, it's a sensitive issue.
As Bridget noted, they'll consider the approach for 2015.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist
I'm replying to Ashton and Mars0i off-list - and I'm happy to continue
discussing the issue off-list, with anyone who wants to, but I think it's
getting off-topic and close to inappropriate for this (technical) list.
And, for what it's worth, Atamert, I'm on your side on this.
Sean
On Oct 15,
the demographics of our community if
we all want to do so.
In particular, the demographics of your work environment depend almost entirely
on your hiring process and willingness to train your employees so that's
definitely an area where you can effect change if you have the will.
Sean Corfield -- http
It may be more to do with the difference between `for` and `map`. How do these
versions compare in your benchmark:
(defn read-to-maps-partial [rows]
(let [headers (-
rows
first
(take-while (complement #{}))
(map keyword))]
Ah, interesting... I hadn't considered it was running the zipmap at
compile-time so it only runs it once as opposed to running it for each row!
Sean
On Oct 10, 2014, at 1:06 PM, Ben Wolfson wolf...@gmail.com wrote:
I believe it's because the `mapper` function is just creating and returning a
the code that eval executes at, er, run-time :)
Sean
On Fri, Oct 10, 2014 at 1:35 PM, Sean Corfield s...@corfield.org wrote:
Ah, interesting... I hadn't considered it was running the zipmap at
compile-time so it only runs it once as opposed to running it for each row!
Sean
On Oct 10, 2014
That's very vague. Can you explain _why_ you want to talk to such users?
I'm in your target audience but I would not contact you based on such a vague
post. My first reaction is you're trying to sell me something...
Sean
On Oct 9, 2014, at 12:13 PM, Jan Drake jan.s.dr...@gmail.com wrote:
You
I grumbled about the GPG stuff when it came up but after a chat with
Phil I decided this was something I just needed to learn as a
developer. Sure, it means you have to read complex security stuff
but we have to read lots of complex stuff as developers - that's just
part of our job.
I switched to
On Fri, Sep 26, 2014 at 11:51 AM, José Ricardo zehzi...@gmail.com wrote:
Hi, I'm not sure if resurrecting this thread is the right approach, but what
about Java 8 Streams (java.util.stream)?
Are there any libraries out there for making java 8 streams handling nicer?
:)
Well, this thread is
If you're putting data into a channel, why not just add the transducer to the
channel creation so it is applied as you pull values off the channel?
Sean
On Sep 21, 2014, at 3:01 PM, Wilker wilkerlu...@gmail.com wrote:
Hi guys,
I'm playing with transducers here, and trying out stuff just
to work
with Java's JDBC classes, javax.mail, and Java's SOAP implementation - all from
Clojure - all I can say is that some Java interop is easier than others, but
most of it is somewhat unpleasant :)
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection
Peter,
I just upgraded from Sente 0.15.1 to 1.0.0 and it looks like the values that
come in ch-recv have changed format?
I used to have the following:
(go (loop [[op arg] (! ch-recv)]
(case op
:chsk/recv (do-something-with arg)
...)))
But now I get a map back instead of
for several user-facing things in production,
as opposed to just internal-facing stuff in production.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description
On Sep 6, 2014, at 3:55 AM, Hugo Duncan duncan.h...@gmail.com wrote:
Did you change `start-chsk-router-loop!` to `start-chsk-router!`?
I don't use those. I read directly from ch-recv due to some of the stuff I
needed to do (when I first started using Sente). I may revisit this now...
Sean
be spun off in a thread?
I'll go open an issue for this on Sente's Github repo for discussion.
Sean
On Sep 6, 2014, at 3:48 PM, Sean Corfield s...@corfield.org wrote:
On Sep 6, 2014, at 3:55 AM, Hugo Duncan duncan.h...@gmail.com wrote:
Did you change `start-chsk-router-loop!` to `start-chsk-router
Define stable. We've had Clojure 1.7.0 Alpha 1 in production since August
12th with no problems.
On Sep 4, 2014, at 7:07 PM, Colin Fleming colin.mailingl...@gmail.com wrote:
Is there any indication of when transducers are likely to make it to a stable
version of Clojure? Given that there's a
already does something
similar:
lein try om
That figures out the latest version of Om (by searching Clojars and Maven I
believe?).
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist
, whose been doing a huge amount of data migration via Java said he was just
starting to learn Clojure and was looking forward to getting away from objects
and Java's verbosity and fussiness!
Good luck!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection
Just wanted to say thank you! for this. It certainly is useful!
A possible enhancement: to try to locate and add dependencies that are not
known as abbreviations. For example, `lein plz add om` doesn't do anything (and
doesn't tell you!) so you have to edit your .edn file and add {om #{om}}
On Wed, Aug 13, 2014 at 7:59 PM, Colin Fleming
colin.mailingl...@gmail.com wrote:
This looks really great. Due to limitations in Clojure's interop I'm forced
to use much more Java than I'd like in Cursive itself
Could you elaborate on this Colin?
--
Sean A Corfield -- (904) 302-SEAN
An
FWIW, we took 1.7.0-alpha1 to production yesterday. Despite the supposed
keyword/symbol construction performance mentioned below, we actually suspect a
slight slowdown compared to 1.6.0 but we don't have concrete numbers yet (and
it's only a suspicion - a lot has changed recently in our code
We've moved to a model where we AOT only those namespaces that need to result
in Java classes and we resolve into the main code at runtime for the
implementation. We have all the AOT shims in one project and everything in
non-AOT projects. That allows us to essentially ignore AOT except for the
So that's new in 0.9.5? Good to know. We're still on 0.9.2.1.
On Aug 9, 2014, at 10:08 AM, Brian Craft craft.br...@gmail.com wrote:
In case anyone hits the same problem:
strace showed the file being read, but it was having no effect, and c3p0
reported no errors in the config. Checking the
for readonly transactions via :read-only? JDBC-93.
(should be up on Maven soon)
Thanks to Brian Craft for highlighting the performance hotspot due to
reflection in the executeUpdate code!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy
, -Banana
#'crecords.trec/-Banana, map-Banana #'crecords.trec/map-Banana, -main
#'crecords.trec/-main, f1 #'crecords.trec/f1, map-Apple
#'crecords.trec/map-Apple}
Hope that helps?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good
This is very cool.
Given the URL structure, have you given any thought to how contrib libraries
might be integrated into this in future?
Sean
On Aug 1, 2014, at 2:00 PM, Reid McKenzie rmckenzi...@gmail.com wrote:
For those of you who didn't notice the ten minutes of 500 pages as I
upgraded,
for more extensive, community-maintained documentation that
provides guides to using contrib libraries etc. In addition, contrib libraries
probably don't lend themselves to isolated examples the way the core Clojure
namespaces do.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http
I've seen several people report this problem when using vinyasa and I've run
into this once myself (I don't remember what caused it, but it was some other
plugin that pulled in an old core.cache version).
Sean
On Jul 31, 2014, at 11:11 AM, Timothy Washington twash...@gmail.com wrote:
Ok, I
FWIW we have several places where the obvious local name shadows a core
function - so the existing behavior is both desirable (IMO) and in existing
production usage. I would not want to see that changed :)
Eastwood seems like the correct place for this (Eastwood has continued to
detect bugs in
that globally for our code base.
I think Colin's suggestion is solid, if you can do it. I don't think we shadow
a core function with a local function anywhere and such attempted calls would
almost certainly be bugs - or at least indicate a better function name was
needed.
Sean Corfield -- (904) 302
On Jul 23, 2014, at 7:11 PM, Jonah Benton jo...@jonah.com wrote:
Sean Corfield has a great example of writing a log4j logging backend in
clojure:
http://corfield.org/blog/post.cfm/real-world-clojure-logging
Thanx for the referral. That made me go back and look at what that code has
evolved
/ false (which was my initial concern
after being somewhat gunshy of 'OR' in queries due to performance problems that
has caused in complex queries).
Thank you Brandon!
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave
Yes, we're using HoneySQL extensively at World Singles for our more complex
reporting queries - which was why I asked what Yesql users were doing to handle
conditionally built queries.
I really like the look of Yesql - and I can see the benefits for some of our
more straightforward queries so
You'll want to read this thread:
https://groups.google.com/forum/#!topic/clojurescript/DHJvcGey8Sc
In particular:
So if you have code that's like this, those components will want to clean up
after themselves in IWillUnmount.
That should address your first problem?
I'm not sure what to
I'm curious as to how folks using Yesql deal with conditional queries - which
is something we seem to run into a lot.
For example, we have some business logic that might optionally be passed a date
range and maybe some other qualifier so our query would be:
(str SELECT ... main query
(final MethodArgument... arguments) {
need an array passed in.
You'll need something like (into-array
org.freedesktop.dbus.Message$MethodArgument [app-name]) instead of just
app-name in your .addArgument call.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection
(! 540)- export MY_VAR=foo
Mon Jul 07 12:26:01
(sean)-(jobs:0)-(~/clojure)
(! 541)- lein repl
nREPL server started on port 56747 on host 127.0.0.1 - nrepl://127.0.0.1:56747
REPL-y 0.3.1
Clojure 1.6.0
Docs: (doc function-name-here)
(find-doc part-of-name-here)
Source: (source
The bug is not in `case` but is a result of calling `with-symbol-macros` on it.
Normally `case` expands to use a `sorted-map` for the lookup of case values
when you have a compact set of test values (as opposed to a sparse set). You
can see that here:
user= (macroexpand '(case \a (\0 \1 \2 \3
/java.jdbc 0.3.4]
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
Nice piece of work - especially for a school project at any level! Impressive!
Sean
On Jun 27, 2014, at 8:00 AM, juan.facorro juan.faco...@gmail.com wrote:
Hello Clojurians!
I wanted to share with you a project called Clojure Lab, an IDE for Clojure
in Clojure.
I've been on Java 8 on my development Mac for ages. The only thing holding us
back from going to Java 8 in production is New Relic don't yet support it...
We upgraded our entire stack to Java 7 back in October and I thought we were
late since Java 6 had been EOL'd for so long :)
Sean
On Jun
Clojure Contrib libraries are all deprecated and very out of date.
For clojure.contrib.sql, you'll want to use clojure.java.jdbc instead. Complete
(community-maintained) documentation can be found here:
http://clojure-doc.org/articles/ecosystem/java_jdbc/home.html
Reference documentation can
/community/Where+Did+Clojure.Contrib+Go which,
amongst other things, says:
clojure.contrib.sql
• Migrated to clojure.java.jdbc
What wording would you suggest we add to either/both of these pages?
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection
at 11:05 AM, Sean Corfield s...@corfield.org wrote:
works for me...
Leiningen 2.4.2; Java build 1.8.0_05-b13; OS X 10.8.5 - lein help new
works fine outside of a project and also inside the context of a
project that depends on Clojure 1.6.0.
Are you running lein inside a project or outside
works for me...
Leiningen 2.4.2; Java build 1.8.0_05-b13; OS X 10.8.5 - lein help new
works fine outside of a project and also inside the context of a
project that depends on Clojure 1.6.0.
Are you running lein inside a project or outside? What do you have in
your profiles.clj file?
Sean
On
On Thu, Jun 12, 2014 at 7:33 AM, Timothy Baldridge tbaldri...@gmail.com wrote:
I say this too many times on this list, but I'll say it again. The best way
to test defn- functions is to never use defn- in the first place. Instead
move implementation functions into an internal namespace that way
a working
proof of concept up on QA today - Instaparse is an amazing tool!
Sean Corfield -- http://clojurebridge.org
ClojureBridge aims to increase diversity within the Clojure community by
offering free, beginner-friendly Clojure programming workshops for women.
signature.asc
Description
On Jun 9, 2014, at 7:07 PM, Taegyoon Kim stelofl...@gmail.com wrote:
And you can't do this:
user= (let [x 1 (comment y 2)] x)
You can, however, do this:
user= (let [x 1 #_(y 2)] x)
and this:
user= (let [x 1 #_y #_2] x)
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http
in the file's ns either.
Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
Perfection is the enemy of the good.
-- Gustave Flaubert, French realist novelist (1821-1880)
signature.asc
Description: Message signed with OpenPGP using GPGMail
This might be a good place to start:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx
and in particular this section:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx#OSS_Licenses
and this section:
http://dodcio.defense.gov/OpenSourceSoftwareFAQ.aspx#Using_OSS_in_DoD_systems
Having
501 - 600 of 1889 matches
Mail list logo