Now a simple question…
How do you evaluate a form into the running repl?
> On Jul 13, 2016, at 7:12 PM, Zach Oakes wrote:
>
> If I get desperate I may do that, but the main users I care about are
> beginners, and they generally have trouble installing CLI tools. I'm hoping
I remember you from the olden days as a colorful personality on comp.lang.lisp.
Having spent this time with Clojure the language, and the community, any
interesting impressions compared to Common Lisp or, well, just any general
thoughts?
> On May 24, 2016, at 9:24 AM, hiskennyness
to Maven Central today. Thank you Sung for all
your work on tools.cli so far!
This release includes all of Sung’s work to date, including TCLI-9 which
Keith Irwin asked about last week:
• Release 0.3.2 on 2015-07-28
• Add :no-defaults to parse-opts:
Returns sequence of options
There are some handy additions committed to the tools.cli project at:
https://github.com/clojure/tools.cli
but there hasn’t been a release in ~1.5 years (not even a snapshot release).
In fact, these commits have been sitting there for over a year.
I’m especially interested in this one:
abonnaireserge...@gmail.com wrote:
Macros won't work because they are expanded at compile-time. We want to
choose the method at runtime.
Thanks,
Ambrose
On Thu, May 21, 2015 at 9:02 AM, Keith Irwin ke...@zentrope.com
mailto:ke...@zentrope.com wrote:
Not sure if this helps, but:
user = (eval
Not sure if this helps, but:
user = (eval (symbol Math PI”))
3.141592653589793
user = (eval `(. ~(resolve (symbol String)) ~(symbol format) %s
(to-array [adasd])))
“adasd
Maybe a macro of some sort?
(defmacro invoke-static
[c meth args]
`(. ~(resolve (symbol c)) ~(symbol meth) ~@args))
Sean—
Personally, the DSL doesn’t bother me at all. (Just a data point.) I get where
you’re going with it, and support the idea, FWIW, but if it were gone, I
wouldn’t notice. My needs are 1) so simple, strings work, or 2) so complicated,
a (or any) DSL is just extra headache. (Reading them out
I'm having the same issue.
Here's a project with a timeout loop demonstrating the problem:
https://github.com/zentrope/clock
Using core.async SNAPSHOT and any clojurescript release after 1859 seems to
break along the same lines as the OP.
Other elements I have going:
- cljsbuild 0.3.3
-
I think you can use db-connection, something like:
(let [conn (db-connection spec)
meta (.getMetaData conn)]
(doall (.getTables meta nil schema %s nil))
(.close conn))
Or what have you. I wrote a little macro `with-meta-data` that was something
like that, with added
On Jul 21, 2013, at 10:01 PM, Colin Fleming colin.mailingl...@gmail.com wrote:
I'm a fan of static generators too, but one large con for a lot of people is
lack of commenting. Personally I like the article-with-no-comments format,
but it's not for everyone. You can use Disqus or similar, but
On May 18, 2013, at 5:32 PM, Marc Boschma marc.bosc...@gmail.com wrote:
Well understood Sean!
If I work out away to up lift the code I'll contribute that back.
I was just checking to see if anyone else had tried.
If, like you, I need to find another way is Axis 1.x an easier platform
Hi--
The only way I could get the colorized stack-trace was to use M-x
clojure-jack-in.
Normally, I type lein swank on a command line, then use M-x slime-connect
from Emacs. This is so that I can see the clojure.tools.logging output.
(I've no idea where it goes when you use clojure-jack-in.
Folks--
I'm working on an experimental library which interfaces with external
resources (i.e., not purely functional) and I'd like the library to log
things when stuff goes wrong (say, with network connections). I don't want
to throw exceptions and let clients handle it because I want to build
I'm guessing that removing the non-project classes and then just declaring
a dependency should work well enough.
Couldn't find :disable-implicit-clean in the sample project file
technomancy maintains on his github repo, but did use
:clean-non-project-classes, which removed the compiled logging
I'm new to all this, too. The kinds of teams I've worked on, generally,
favor breaking down a problem into separate processes such that we each get
to work on our own apps which communicate via messaging or http, so I may
not have quite the experience you have with big shared-code libraries
Oops. I somehow it some magic key. Soon as that post makes it through
review I'll rewrite it to something short and useful. Moral of the story
is to not use the web form on Google Groups.
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to
I don't think you can really answer the question because it being asked in
the way it that precludes a good enough answer. The tone of Matt Raible's
request suggests that he'd really rather not learn it, and that there's no
possible reason to overcome that reluctance.
Why travel? There's plenty
to write some Java that wrapped an inner subclass of
the offending class, and used Clojure to implement an interface which
the inner class can use.
Keith
On Fri, Dec 11, 2009 at 4:18 PM, Keith Irwin keith.ir...@gmail.com wrote:
On Dec 11, 3:31 pm, ataggart alex.tagg...@gmail.com wrote:
On Dec 11, 12
Folks--
I've got a class I can't change which has an abstract method I'd like
to override using the proxy macro in Clojure.
The class looks something like:
public abstract class Foo {
private Map stuff;
private void initStuff() {
stuff = new HashMap();
stuff.put(a, new
On Fri, Dec 11, 2009 at 12:27 PM, Keith Irwin keith.ir...@gmail.com wrote:
public abstract class Foo {
private Map stuff;
private void initStuff() {
stuff = new HashMap();
stuff.put(a, new Object());
addStuff(stuff);
}
protected void abstract addStuff
On Dec 11, 3:33 pm, ataggart alex.tagg...@gmail.com wrote:
On Dec 11, 12:44 pm, Keith Irwin keith.ir...@gmail.com wrote:
On Fri, Dec 11, 2009 at 12:27 PM, Keith Irwin keith.ir...@gmail.com wrote:
public abstract class Foo {
private Map stuff;
private void initStuff
On Dec 11, 3:31 pm, ataggart alex.tagg...@gmail.com wrote:
On Dec 11, 12:27 pm, Keith Irwin keith.ir...@gmail.com wrote:
Folks--
I've got a class I can't change which has an abstract method I'd like
to override using the proxy macro in Clojure.
The class looks something like
22 matches
Mail list logo