Qué tranza! :)
On Tuesday, October 20, 2020 at 2:20:00 PM UTC-5 doyouun...@gmail.com wrote:
> Wondering who is living/working in Mexico City?
>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
That's not your problem. From (doc str):
"With more than one arg, returns the concatenation of the str values of the
args."
The str value of a lazy sequence is something like:
"clojure.lang.LazySeq@386e0460"
which is the result of (.toString your-seq)
What you probably want is something like
Thanks for your response. I look forward to trying out your lib.
As it happens, my problem seems magically to have vanished on its own, and
I can't think of anything I did that might have shaken it loose. Gotta
love problems that magically fix themselves (until they magically unfix
themselve
I'm in the process of upgrading some oldish code, and I'm encountering some
compatibility problems with the loggers required by various libraries.
See the *appendix* below for my project.clj, which loads a number of
libraries and to which I've recently added statements like this:
[com.
Thanks for everyone's input.
I think at this point I've concluded that this is not a clojure problem,
but rather something going on with the program I'm calling in the shell.
I'm talking to the support community there.
In the meantime I've found a work-around.
Thanks again for everyone's hel
at all, it must have some knowledge of the
PATH. Does (null *sh-env*) then mean 'no changes to the default
environment'?
On Wednesday, July 11, 2012 3:53:48 PM UTC-7, Michael Klishin wrote:
>
> Eric in San Diego:
>
> > That's why I'm hoping there is some way I can
Wednesday, July 11, 2012 3:23:38 PM UTC-7, Michael Klishin wrote:
>
> Eric in San Diego:
>
> > my app is throwing an error
>
> How about posting the error (and a snippet of your code)? Bonus points for
> a Github repository that can be used
> to reproduce.
>
> MK
In a shell, I can call
> app arg1 arg2 arg3 arg4 arg5 arg6 arg7
and get my expected results.
However, if I make what I think is the same call programmatically in
clojure:
(ns ...
(:require [clojure.java.shell :as sh]
))
(defn test []
(sh/sh "app" "arg1" "arg2" "arg3" "arg4" "arg5" ar
>
> To follow up on my own post: looks like installing a later version of
> clojure should fix this: https://gist.github.com/3019801
>
--
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
I am trying to run `lein cljsbuild once` and am getting the exception trace
shown at the bottom of this post.
I have a Noir/ClojureScript project on OS X 10.7.4, Java 1.6.0_33.
My project.clj contains:
:dev-dependencies [[lein-cljsbuild "0.2.2"]]
:cljsbuild {
:source-
I'm migrating some code from 1.2 to 1.3, and one of the things I've
encountered is that it no longer accepts ^map as a type hint. It's
happy if I use ^clojure.lang.PersistentArrayMap, but that's quite a
mouthful.
Is there a more compact abbreviation I can use? Where are such things
documented?
T
;old" version of pro-1,
> while fun will be testing for satisfaction of the "current" version.
>
> On Oct 15, 8:04 am, Eric in San Diego wrote:
>
>
>
>
>
>
>
> > Hi all -
>
> > I'm experiencing some unexpected behavior with prot
;
import clojure.lang.RT;
import clojure.lang.Var;
/**
*
* @author Diego Pacheco
*
*/
public class JavaCallsClojureInterpreted {
private static final Var seq= RT.var("clojure.core",
"seq");
private static final Var type = RT.var(&
uct-map");
Object oStruct =
struct.invoke(oType,"Diego",26,"Coach",1000);
Var hire = RT.var("user", "hire");
Object r = hire.invoke(oStruct);
System.out.println(r);
...
Update: This appears to have been the product of a funky state.
Restarting with a new swank service seems to have removed the problem.
- e in sd
On Oct 15, 8:04 am, Eric in San Diego wrote:
> Hi all -
>
> I'm experiencing some unexpected behavior with protocols. Stripping
&g
Hi all -
I'm experiencing some unexpected behavior with protocols. Stripping
out extraneous details...
;
(ns my.ns1
...)
(defprotocol pro-1
...)
(deftype T1 [...]
pro-1
...)
(defn fun [p]
^{:pre [(satisfies? pro-1 p)
]
}
...)
Then in another file:
(
ed.java]
import clojure.lang.RT;
import clojure.lang.Var;
/**
*
* @author Diego Pacheco
*
*/
public class JavaCallsClojureInterpreted {
public static void main(String args[]) throws
Throwable{
try{
RT.loadResourceScript("company.clj");
Var
17 matches
Mail list logo