r type in
> ClojureScript only strings.
>
> David
>
> On Tue, Feb 9, 2016 at 1:01 PM, nick rothwell > wrote:
>
>> Dumb question: should I be able to get the ordinal value of a character
>> in ClojureScript via something like
>>
>> (int \A)
>&
Dumb question: should I be able to get the ordinal value of a character in
ClojureScript via something like
(int \A)
? This does exactly what I'd expect in Clojure. In ClojureScript it seems
to compile to
"A" | 0
which evaluates to 0.
(I'm now doing (.charCodeAt \A) which works fine.)
[org.
Blog entry with details here:
http://www.cassiel.com/2014/10/18/networked-bodies-watermans/
One of the pieces is audio-responsive with HD visuals in Quil; the other is
running in Field (Java->Jython->Clojure), live coded by myself on stage in
London and Kate (the choreographer) in Light Table,
hemselves (they are literals that evaluate to themselves), they are
> not aliases for something else.
>
> [1] http://clojure.org/reader
>
> On 8 March 2013 16:56, nick rothwell >
> wrote:
> > Typing the following at a REPL:
> >
> > (str ::junk/junk
Typing the following at a REPL:
(str ::junk/junk)
(where there's no alias for junk) gives me:
RuntimeException Invalid token: ::junk/junk
clojure.lang.Util.runtimeException (Util.java:219)
RuntimeException Unmatched delimiter: ) clojure.lang.Util.runtimeException
(Util.java:219)
A couple of
Is there a reason why this isn't allowed?
user> (try nil (finally (doseq [x (range 10)] (println x
CompilerException java.lang.UnsupportedOperationException: Cannot recur
from catch/finally, compiling:(NO_SOURCE_PATH:1)
Is this some JVM restriction?
--
--
You received this message becaus
This one has caught me once or twice as well: #(xxx) evaluates "(xxx)", not
"xxx". My usual mistake is
... #([1 % 3]) ...
My rather verbose workround is
... #(identity [1 % 3]) ...
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gr
On Sunday, June 3, 2012 5:22:51 AM UTC+1, Phil Hagelberg wrote:
>
> I hope this addresses the issues people were seeing with preview5.
>
It does address the issue that my preview4 wouldn't upgrade; I've now just
successfully bumped from preview4 to preview6.
Thanks!
--
You received this mess
I seem to not be getting an upgrade. :-( (I then followed the re-download
instructions, and got preview4 again.)
bash-3.2$ ~/lein2 upgrade
The script at /Users/nick/lein2 will be upgraded to the latest preview
version.
Do you want to continue [Y/n]? Y
Upgrading...
% Total% Received % Xfer
Great - thanks, yes, it's Foo$Bar/BAZ after an import of Foo$Bar.
Thanks everyone for saving me from more hours inside all the proxy
apparatus.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups
I'm faced with the following in some legacy code:
public interface Foo { interface Bar { ... String BAZ = "baz"; ... }}
Is there any way of accessing Foo.Bar.BAZ in the Clojure world? I've tried
various combinations of proxying and reifying with no joy.
--
You received this message because you
Trivial bug report: saying
lein new
throws an ArityException rather than reporting an error and suggesting
usage.
--
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
12 matches
Mail list logo