ritoch/clj-nativedep
Clojars/Leiningen dependency:
[clj-nativedep "0.2.0"]
Best Regards,
Ralph Ritoch
--
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
Clojars. Both a hello world bundle and a hello world user
bundle which imports from hello world have been tested and appear to be
fully functional. Feel free to use and extend this code at will as I'm
releasing it under the MIT license.
Best Regards,
Ralph Ritoch
--
You received this
This is the first release of the lein-sablecc leiningen plugin.
This project is on github at https://github.com/rritoch/lein-sablecc
It has been released to clojars at https://clojars.org/lein-sablecc
Description:
This plugin integrates the SableCC Compiler Compiler with a leiningen
project. T
One important piece of information about this feature is that it doesn't
manipulate classloaders. This feature was designed to be used with OSGi or
applications that handle their own classloading issues. In a typical
application when entering a namespace isolation you may also need to bind a
of a
dependency will require the conflicting dependencies, but some will. It
wouldn't be easy, or automatic, but it would become possible.
Best Regards,
Ralph Ritoch
On Monday, December 8, 2014 9:23:12 PM UTC+8, Ralph Ritoch wrote:
>
> Gary,
>
>What your stating is possib
references of those
namespaces from the two environments. This was not an intended feature,
but it is a feature that can be accessed.
Best Regards,
Ralph Ritoch
On Monday, December 8, 2014 8:39:29 PM UTC+8, Gary Verhaegen wrote:
>
> Naive question: does that solve the dependency
Thank you. I have signed the contributor agreement and applied to join
clojure-dev (request pending).
On Monday, December 8, 2014 3:38:15 AM UTC+8, Alan Forrester wrote:
>
> On 7 December 2014 at 19:27, Fluid Dynamics > wrote:
> > On Sunday, December 7, 2014 11:12:37 AM UTC-5, Bozhidar Batsov w
namespace and all of it's
dependent namespaces are copied into the newly created container. Once
inside a new container, changes can be made without any risk of namespace
conflicts with other parts of the system.
I would like to submit these features for addition to Clojure.
Best Regards,
clojure.org needs to be updated with a release announcement for 1.4.
On Wednesday, April 18, 2012 4:05:15 AM UTC+2, Alan Dipert wrote:
>
> We are pleased to announce the release of Clojure 1.4:
>
> http://clojure.org/downloads
>
> For maven/leiningen users, your settings are now:
>
> :dependen
Brilliant, thanks Meikel! Quite a complex macro, that.
--
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 po
I want to propose that Clojure libraries should be fully "type-hinted"
-- that is, they should be compiled with the "*warn-on-reflection*"
option turned on and type hints place wherever possible.
I understand the argument against type-hinting end-user code until a
performance problem is demonstrat
y the let. So how would one modify with-resource to
call close-fn with multiple variables?
Regards,
Ralph
--
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 fr
Thanks, If I'd read that page carefully & done a search in JIRA I
would've seen that CLJS-24 already addresses this. Doh!
On Sep 1, 4:26 pm, Luc Prefontaine
wrote:
> Look at this:
>
> http://clojure.org/contributing
>
> Luc P.
>
> On Thu, 1 Sep 2011 04:53:20
guidelines would be
welcome.
Regards,
Ralph
--
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.
T
-experiments.core)
(defn details []
(let [hash (System.Collections.Hashtable.)]
(doto hash
(. Add "Name" "Ralph")
(. Add "Age" 27))
hash))
(gen-class :name "ClrExperiments.Employee"
:methods [[details [] Sy
I realized that I got the anaphora idiom wrong after I posted. I
changed it in my test code.
Thanks.
On Jun 20, 6:31 am, Jonathan Fischer Friberg
wrote:
> You should use ~' for anaphora.
>
> If for example `~this is used, 'this' is going to be unquoted, and the
> content of "this" will be backqu
I just "discovered" the "#=" reader macro from a post on Stackoverflow
and it solves a problem. How likely is this reader macro to become an
official (documented) part of the language? How about deprecated or
changed behavior?
I am trying to use Stuart Sierra's "do-template" inside a
"defprotocol"
What is the idiomatic way to document defn's? In particular, should we use
"@param", "@returns", etc. to document parameters, return values, etc.
It might be good to have some standard way to specify expected parameter
types (other that type hints), especially for a dynamically typed language.
I'm not sure what all the hype is about lazy programming.
I've been a lazy programmer for more than 30 years. :-)
--
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 m
Any reason why the doc string has been removed from clojure.xml/emit
(and emit-element)? Are these functions deprecated?
--
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
Rich-
Could you post the slides from your "Hammock-driven development" talk?
Most excellent! Awesome in fact :-).
Thanks.
--
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
Maybe Microsoft has tuned the CLR for those particular benchmarks
(think "IE9" - not that anyone is accusing them of anything :-)).
On Nov 22, 6:01 pm, Isaac Gouy wrote:
> On Nov 22, 12:54 pm, Ralph wrote:
>
> > That is almost certainly true, since the Microsoft have proba
That is almost certainly true, since the Microsoft have probably done
extensive optimization on the CLR.
On Nov 22, 1:18 pm, Mark Engelberg wrote:
> I doubt that F# Mono benchmarks are representative of F#'s performance on
> Windows.
--
You received this message because you are subscribed to th
On the Programming Languages Comparison Site (http://
shootout.alioth.debian.org/u64/benchmark.php?
test=all&lang=clojure&lang2=fsharp), if you run the Clojure vs. F#
comparison, Clojure scores about the same in speed as F# (but does use
more memory).
At first this surprised me, since Clojure is d
(delay (... read the JAR ...))
>
> (defn get-version [] (force version))
>
> -S
>
> On Oct 22, 11:56 am, Ralph wrote:
>
>
>
> > I have a Clojure program that I build as a JAR file using Maven.
> > Embedded in the JAR Manifest is a build-version number, inc
(.getCodeSource)
> (.getLocation))
> "!/META-INF/MANIFEST.MF")
> (URL.)
> (.openStream)
> (Manifest.)
> (.. getMainAttributes)
> (.getValue "Build-number")))
>
> (def *version* (get-version))
>
> On
t
> calling it via a set-version function?
>
> - James
>
> On 22 October 2010 16:56, Ralph wrote:
>
>
>
> > I have a Clojure program that I build as a JAR file using Maven.
> > Embedded in the JAR Manifest is a build-version number, including the
> > build
I have a Clojure program that I build as a JAR file using Maven.
Embedded in the JAR Manifest is a build-version number, including the
build timestamp.
I can easily read this at runtime from the JAR Manifest using the
following code:
(defn set-version
"Set the version variable to the build numb
First, how do I submit a request for enhancement?
Second, the documentation for "assoc" in clojure.core should probably
include "(assoc vector index val)" and "(assoc vector index val &
ivs)" in the usage line.
--
You received this message because you are subscribed to the Google
Groups "Clojure
I am using La Clojure (IntelliJ) for editing my programs.
Is there any way (pseudo-variable, perhaps) to get the REPL to wrap
lines after a specified number of characters? If I print a sequence
containing a large number of items, I have to scroll right to see the
whole thing.
Thanks, Ralph
Yes, but I don't believe that it guarantees that you will get the
manifest for the enclosing JAR file if you have more than one.
On May 3, 10:28 am, Nurullah Akkaya wrote:
> (let [url (ClassLoader/getSystemResource "META-INF/MANIFEST.MF")
> manifest (java.util.jar.Manifest. (.openStream url
Crossposted to StackoverFlow.
How can a Clojure program find its own MANIFEST.MF (assuming it is
packaged in a JAR file).
I am trying to do this from my "-main" function, but I can't find a
class to use in the following code:
(.getValue
(..
(java.util.jar.Manifest.
(.openStre
I must clarify my question: I need the longest INITIAL sequence where
the items are sequential.
One solution offered by "cgrand" at stackoverflow is
(defn longest-initial-sequence [[x :as s]]
(take-while identity (map #(#{%1} %2) s (iterate inc x
On Apr 27, 2:59 pm, CuppoJava wrote:
> Her
Crossposted to stackoverflow.
In a Clojure program, I have a sequence of numbers:
(2 3 4 6 8 1)
I want to find the longest sub-sequence where the items are
sequential:
(2 3 4)
I am assuming that it will involve (take-while ...) or (reduce ...).
Any ideas?
--
You received this message becaus
34 matches
Mail list logo