nge the example, it may add
to the confusion ;-)
-FS/
On Mar 23, 2010, at 10:24 AM, Frank Siebenlist wrote:
> My REPL shows:
> ...
> user> (= (bytes (.getBytes "a"))(bytes (.getBytes "a")))
> false
> user> (= (seq (bytes (.getBytes "a"
My REPL shows:
...
user> (= (bytes (.getBytes "a"))(bytes (.getBytes "a")))
false
user> (= (seq (bytes (.getBytes "a"))) (seq (bytes (.getBytes "a"
true
...
in other words, "equality" for java byte arrays is defined differently than
their seq'ed version.
It seems that the native arrays are c
The following repl session shows my attempt to dispatch a multimethod on "type":
...
user> (defmulti mm type)
#'user/mm
user> (type "a")
java.lang.String
user> (defmethod mm java.lang.String [s] (println "string"))
#
user> (mm "a")
string
nil
user> (type (.getBytes "a"))
[B
user> (defmethod mm [B
the very
> interisting Henry Baker's egal Paper, and yields the cleanest equality
> semantics that I know of.
>
> On 23 mar, 14:24, Frank Siebenlist wrote:
>> My REPL shows:
>> ...
>> user> (= (bytes (.getBytes "a"))(bytes (.getBytes "a"
can come up with is (Class/forName "[B").
>
>
>
> On Mar 24, 11:02 am, Frank Siebenlist
> wrote:
>> The following repl session shows my attempt to dispatch a multimethod on
>> "type":
>>
>> ...
>> user> (defmulti
ent type c"
>> [#^Class c]
>> (when c (class (java.lang.reflect.Array/newInstance c 0
>> user=> (array-class String)
>> [Ljava.lang.String;
>> which appears faster than using Class/forName with a created string.
>> But since one *can* type a literal
Even though the specs clearly say that commas are whitespace, the following
repl session doesn't feel "intuitively" right:
...
user> (list 1 2 3)
(1 2 3)
user> (list 1, 2, 3)
(1 2 3)
user> (list 1, 2, , 3)
(1 2 3)
user> (list 1, 2, nil , 3)
(1 2 nil 3)
...
"," is same as ", ," is same as " "...
se - syntactically
>> no different from comma, but stylistically helpful.
>>
>> On Fri, Apr 2, 2010 at 1:52 AM, Per Vognsen wrote:
>>>
>>> It doesn't feel right only if you still think you are programming in
>>> an Algol-style language where
On Apr 2, 2010, at 7:14 PM, Armando Blancas wrote:
>> So, it's all some form of RTFM... but one could argue that this novel use of
>> commas in the syntax results in adding a little "incidental complexity" to
>> the language ;-)
>
My wrong assumption was: "whitespace and commas are separators
I just built the netbean+labrepl from start according the getting-started
webpage, and the build barfed because labrepl's pom.xml included the
"1.2.0-master-SNAPSHOT" instead of "1.2.0-SNAPSHOT" for clojure-contrib.
After correction, all build without errors and seems to work fine.
-Frank.
One process that could be made a little easier is the contribution of code
documentation and suggested improvements of doc-strings.
New or improved doc-strings do not change any functionality, impact any tests,
require peer review…
If we could simply suggest new doc-strings for example in the J
Happy to help - FrankS.
On Jan 23, 2013, at 10:53 AM, Andy Fingerhut wrote:
> An interest was expressed by a few in having a separate ClojureScript mailing
> list.
>
> If it is a Google group, that requires moderating messages sent to the group,
> via manual approval. I suspect early on ther
There is one more important difference between EPL and GPL/LGPL that we should
be aware off:
You cannot copy snippets out of Philip's LGPL'ed code and use them in your own
EPL'ed code.
For me, one of the great benefits of all the EPL'ed clojure libraries out there
is, that I've freely borrowed
> ...
> The chain causing problems for you is:
>
> [clj-ns-browser "1.3.0"] -> [seesaw "1.4.2"] -> [j18n "1.0.1"] ->
> [org.clojure/clojure "[1.2,1.5)"]
>
> The last one there allows clojure below 1.5, which includes -RC17. As
> soon as you bump to to 1.5 it ignores the "soft" version in your
>
I just ran into that issue while I was constructing byte-arrays for secure-hash
test cases.
Ended-up using (byte-array (vector-of :byte 1 2 3 4)) to avoid writing the
(byte-array [(byte 1)(byte 2)(byte 3)(byte 4)]).
Transparently adding valid byte-number values to a byte-array makes sense and
Small maintenance release that upgrades project's dependencies to Clojure 1.5
and Seesaw 1.4.3, but works fine with Clojure 1.4 also.
As Seesaw's Dave Ray stated it: "The one good reason to upgrade is if you're
planning on using Clojure 1.5 and don't feel like being confused by the horrors
of M
clj-ns-browser 1.3.1 is released and addresses this issue by upgrading the
project's dependencies to seesaw 1.4.3.
For docs and code, please see "https://github.com/franks42/clj-ns-browser";.
Enjoy, Frank.
On Mar 2, 2013, at 10:57 PM, Dave Ray wrote:
>>> As i'm responsible for the clj-ns-br
Excellent - thanks for letting me know - Frank.
On Mar 3, 2013, at 11:37 PM, Tassilo Horn wrote:
> Frank Siebenlist writes:
>
> Hi Frank,
>
>> clj-ns-browser 1.3.1 is released and addresses this issue by upgrading
>> the project's dependencies to seesaw 1.4.3.
&
Not sure if it's helpful in this context, but I've been playing with a more
functional
message-digest/secure-hashing interface recently.
Please take a look at:
https://github.com/franks42/clj.security.message-digest
It's still a little raw, and probably more "educational" than practical right
> issue to help increase its visibility...
>
> Add your 2 cents here (provided you've a CA):
> http://dev.clojure.org/jira/browse/CLJ-766
>
> Best, K.
> --
> Karsten Schmidt
> http://postspectacular.com | http://toxiclibs.org | http://toxi.co.uk
>
>
> On 3
> digest (-> (java.security.MessageDigest/getInstance "sha1")
> .reset
> (.update nonce-bytes)
> (.update create-bytes)
> (.update secret-bytes)
> .digest)
There may be an issue with this snippet o
>(doto (java.security.MessageDigest/getInstance "sha1")
> .reset
> (.update nonce-bytes)
> (.update created-bytes)
> (.update secret-bytes)))
>
>
> On Mon, Mar 4,
e digest of "bc"'s bytes and
.digest that.
Ough… hope that's clear...
-FS.
On Mar 4, 2013, at 12:15 PM, Aaron Cohen wrote:
> I'm not familiar with the class, but it seems that MessageDigest/getInstance
> might retrieve some shared instance that could theoretic
t;
> and then print this to the terminal, I can see it really is just a
> string made of these 3 items. Just a plain string, exactly what I
> assumed.
>
>
> On Mar 4, 2:25 pm, Frank Siebenlist
> wrote:
>>> digest (-> (java.security.MessageDigest/
t;\" Created=\"" created "\"")]
>header)
>
>
> I end up with, in part:
>
> PasswordDigest="[B@26f7b2f4"
> Nonce="Y2MwN2JiYzA5MDlmZjE2ZjExMGYzMjRhODA2Yjc5ODc="
> Created="2013-03-04T15:57:52"
&g
ain, I am
> creating a new instance MessageDigest, and so I don't have to worry
> about calling .digest()?
>
>
>
> On Mar 4, 2:43 pm, Frank Siebenlist
> wrote:
>> That should work.
>>
>> No need for .reset though as the initially constructed Messa
Glad Larry has working code now...
As I mentioned before in this thread, I'm working on this functional interface
for the message-digesting/secure-hashing, and this whole discussion reads like
a use case for the "why?" ;-)
It "proofs" to me that there may be real value in a more user-friendly a
rce files to /Users/lkrubner/projects/multi-platform-
> data-visualization/mpdv-clojure/target/classes
> Release versions may not depend upon snapshots.
> Freeze snapshots to dated versions or set the
> LEIN_SNAPSHOTS_IN_RELEASE environment variable to override.
>
>
>
>
&g
Larry,
What I can advise though, is to look at my library code and it may give you
different perspectives.
Furthermore, copy, borrow, and steal what you like and make it your own.
-FS.
On Mar 4, 2013, at 3:17 PM, Frank Siebenlist wrote:
> If your code is for production… do not use my c
h 4, 2013 6:46:07 PM UTC-5, FrankS wrote:
> Larry,
>
> What I can advise though, is to look at my library code and it may give you
> different perspectives.
>
> Furthermore, copy, borrow, and steal what you like and make it your own.
>
> -FS.
>
>
words!!!
-Frank.
On Mar 4, 2013, at 10:52 PM, Frank Siebenlist
wrote:
> Hi Mark,
>
> Thanks for sharing!
>
> I like the approach of hiding all the interaction with the
> java.security.MessageDigest library,
> and returning the pair of matching digest&verify functions -
Now that would be a fantastic topic for one of Sean Devlin's Full Disclojure
videocasts!!!
(just a subtle hint from a Full Disclojure fan...;-) )
-Frank.
On May 31, 2010, at 12:33 PM, Zitterbewegung wrote:
> I was wondering which tutorial I should use to get started with
> compojure on google
CLJSH & REPLS: "cljsh" is a lightweight client that sends clojure
statements/files to a persistent repl-server "repls" for evaluation.
Release notes
Cljsh (>= 1.9.5) and repls (>= 1.9.5) have the following new features:
• cljsh automatically finds the repls-server that is started for the projec
When I request the doc for a namespace, an exception gets thrown (clojure 1.3):
user=> (doc clojure.core)
ClassNotFoundException clojure.core java.net.URLClassLoader$1.run
(URLClassLoader.java:202)
I was looking at the source code, and noticed that in the (cond... first the
symbol re
Excellent - Thanks for the confirmation & pointer - FrankS.
On Feb 20, 2012, at 4:18 PM, Andy Fingerhut wrote:
> Yep, and there is a patch ready to go in JIRA:
>
> http://dev.clojure.org/jira/browse/CLJ-902
>
> Andy
>
> On Feb 20, 2012, at 3:17 PM, Frank Siebenlist wr
If you create a namespace with associated vars interactively in the repl, and
subsequently try to use that functionality in other namspaces with
clojure.core/use, an exception is thrown:
FileNotFoundException Could not locate cljsh/docs__init.class or
cljsh/docs.clj on classpath: clojure.
It is my experience that the way how these fundamental Clojure entities, like
Strings, Symbols, Keywords, Vars, NS, and Type/Class, are related, is not so
easy to figure out. This is not so much about programming Clojure, but more
about getting a better feel how the language is held together one
back to it and am in the process of building out the 1.3
> ontology and reworking the visualization itself a fair bit.
>
> I hope you find this useful / interesting.
>
> Cheers,
>
> - Chas
>
> On Mar 1, 2012, at 7:14 PM, Frank Siebenlist wrote:
>
>> It i
The keyword constructor has two signatures: [name] and [ns name]
The keyword doc reads: "Returns a Keyword with the given namespace and name.
Do not use :
in the keyword strings, it will be added automatically."
Looking at the implementation and testing in the repl, for [name] the following
Just found your CLJ-891 and added a comment there that keyword has similar
issues with a link to this thread.
See that you tried to solve it in java… while I tried to stay up in clj … but
any protocol-based solution seems to be up in the air still (?).
Hopefully both interfaces can be enhanced
I kind of accidently discovered that you can create keywords with an embedded
space… not sure if that's a good idea, but you can:
user=> (def k (keyword "jaja nee"))
#'user/k
user=> (str k)
":jaja nee"
user=> (name k)
"jaja nee"
user=> (keyword? k)
true
user=> (keyword? :jaja nee)
CompilerExcepti
One other option I should have tried before:
user=> (pr-str k)
":jaja nee"
user=> (read-string (pr-str k))
:jaja
user=>
but unfortunately that doesn't help either.
-FrankS
On Mar 6, 2012, at 10:44 AM, Frank Siebenlist wrote:
> I kind of accidently discovered that y
Those are convincing arguments/examples that spaces should be allowed in
keywords.
Your solution to enhance "pr":
(pr-str k) ; as in your example
"(keyword "jaja nee")"
should work.
Btw., symbols seem to have the exact same issue:
user=> (def s (symbol "with space"))
#'user/s
user=> s
with sp
So… spaces are not allowed in symbol and keyword identifiers according to the
"spec"…
although Stu doesn't quote the phrase following the allowed chars, which reads:
(other characters will be allowed eventually…)
which seems to keep the door open for allowing spaces in the future (?).
If space
hat depends on those, like the json examples.
On Mar 6, 2012, at 3:23 PM, Meikel Brandmeyer wrote:
> Hi,
>
> Am 06.03.2012 um 21:28 schrieb Frank Siebenlist:
>
>> So… spaces are not allowed in symbol and keyword identifiers according to
>> the "spec"…
>
Clojure is a young language, and I believe there is little argument that some
of the interfaces/implementations and associated docs could be improved. You
can find plenty of examples where functions would throw exceptions for invalid
input, others return nil in that case, and a number return gar
This is my last reply for this thread as the support for "improved" doc strings
for symbol and keyword has been kind of underwhelming - which is fine - time to
move on. (besides, now I personally know more than enough about the
implementation of those functions to use them conformantly ;-) )
>
I can see the need for refer and alias, but why can the compiler not infer from
the use of a fully qualified name that a namespace (or class) that is not
loaded yet, has to be "required"?
Or did I miss anything?
-FrankS.
--
You received this message because you are subscribed to the Google
> (3) tooltips using a modified TipTip jQuery plugin tool, for people like me
> who like its look & feel better than (2).
>
> http://homepage.mac.com/jafingerhut/files/cheatsheet-clj-1.3.0-v1.4-tooltips/cheatsheet-full.html
I like that one - looks cool - very helpful!!
Thanks, Frank.
On
Forgot to add that we only need one cheatsheet, and I vote for (3).
On Mar 27, 2012, at 7:55 AM, Frank Siebenlist wrote:
>> (3) tooltips using a modified TipTip jQuery plugin tool, for people like me
>> who like its look & feel better than (2).
>>
>> http://
I've been bitten a couple of times now by the following scenario:
- Use fully qualified names in the code
- Forget to add (require…) for the associated namspace
- But one other file already require'ed the same namespace, and the
compiler&runtime is happy - all works fine.
- Then you include th
On Mar 28, 2012, at 3:15 PM, Phil Hagelberg wrote:
> ...
> In general though I recommend simply using :require :as for
> everything; if your code won't compile without the :as alias in place
> then you'll be safe.
I realize that's a pragmatic way to force compilation errors.
However, I thought
Not sure if that would work for all cases…
For example, if you have a lein plugin that require's clojure.set, and you use
any fqn in that ns without require'ing it in your file, then your fresh repl
will not catch that (… if I understand your setup).
However, if you then run it outside of the d
r 28, 2012, at 8:20 PM, Phil Hagelberg wrote:
> On Wed, Mar 28, 2012 at 8:03 PM, Frank Siebenlist
> wrote:
>> For example, if you have a lein plugin that require's clojure.set, and you
>> use any fqn in that ns without require'ing it in your file, then your fres
leiningen v3.0 ? ;-)
On Mar 28, 2012, at 8:48 PM, Phil Hagelberg wrote:
> On Wed, Mar 28, 2012 at 8:30 PM, Frank Siebenlist
> wrote:
>> Or is it possible to create a sandbox in an existing jvm that would give you
>> similar isolation? (which would be far less slow)
>
&g
I still remember the first time I was introduced to Smalltalk, when my
colleague demonstrated the class-browser - it was one of those jaw-dropping
moments: all that information at your finger-tips of a live- and living system…
Guess nowadays it's more nostalgia than anything else, but in many wa
Correct - thanks for catching that - should have c&p'ed ;-)
-FrankS.
On Apr 5, 2012, at 4:06 PM, Changa Damany Imara wrote:
> I believe there's a typo in your announcement:
>
> :dev-development [[clj-ns-browser "1.0.0"]]
>
> should be
>
> :dev-dependencies [[clj-ns-browser "1.0.0"]
>
>
on your windows machine and try again?
(I don't have any windows box available for testing)
-FrankS.
On Apr 6, 2012, at 9:01 AM, Lars Nilsson wrote:
> On Thu, Apr 5, 2012 at 1:56 AM, Frank Siebenlist
> wrote:
>> Caveat… it all works well on my MacOSX, but I have seen some iss
consolata results in sdoc displaying the text
> correctly.
>
> Thanks for a very nifty tool. :)
>
> Lars Nilsson
>
> On Fri, Apr 6, 2012 at 12:29 PM, Frank Siebenlist
> wrote:
>> Interesting "feature" on windoze… ;-)
>>
>> One thing that may cause
Confusingly yours, FrankS.
--
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.
To unsubscribe from this
a java class, not a clojure var. Classes have no
> slots to store a docstring. Just put a comment somewhere.
>
> On Apr 12, 9:52 pm, Frank Siebenlist
> wrote:
>> Confusingly yours, FrankS.
>
> --
> You received this message because you are subscribed to the Google
>
I'm using the following function to have pprint write into a string and limit
the output:
(defn pprint-str
"Return string with pprint of v, and limit output to prevent blowup."
[v]
(with-out-str (binding [*print-length* 32 *print-level* 6] (pprint v
Everything seems to work as expect
Thanks for catching that - I didn't even notice that I was printing the binding
var itself… need coffee…
-FS.
On May 3, 2012, at 9:59 AM, Meikel Brandmeyer wrote:
> Hi,
>
> Am 03.05.2012 um 18:43 schrieb Frank Siebenlist:
>
>> user=> (pprint #'clojure.c
wser";.
Feedback, suggestions, and pull requests with yet more cool features, are very
much appreciated!
Enjoy,
Frank Siebenlist
Andy Fingerhut
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to
Can you please share your project.clj when you ask a Q like this?
Thanks, FrankS.
On May 5, 2012, at 5:01 PM, Rostislav Svoboda wrote:
> I put
> :dev-dependencies [[clj-ns-browser "1.2.0"]]
>
> to my project.clj and did:
>
> $ lein deps
> Copying 46 files to /home/bost/dev/webcli/lib
> [WARN
… but dolphins are no fish…
On May 6, 2012, at 5:25 PM, Sean Neilan wrote:
> Perhaps a reference to PHP's explode function which is the java equivalent of
> String.split?
> http://php.net/manual/en/function.explode.php
> And then URI is the fish.
>
> Or it could be a reference to an unwritten s
You may want to check-out Dave Ray's seesaw .
"Seesaw turns the Horror of Swing into a friendly, well-documented, Clojure
library"
https://github.com/daveray/seesaw
-FS.
On May 10, 2012, at 3:03 PM, JvJ wrote:
> Hi,
>
> I'm new to Clojure, but a longtime Java programmer. I'm trying to get
>
Is this thread related to http://dev.clojure.org/jira/browse/CLJ-304 ?
Would be nice to address that issue.
-FrankS.
On May 16, 2012, at 6:54 AM, Tim Visher wrote:
> On Tue, May 15, 2012 at 12:11 PM, JDuPreez wrote:
>> Maybe I should post my solution to this problem here?
>
> Sounds like a p
Christophe Grand was "experimenting" with some extensions to if-let and
when-let that had implicit ANDs for the let-forms:
https://github.com/cgrand/parsley/blob/master/src/net/cgrand/parsley/util.clj
It feels intuitive to me to allow multiple if-let-forms like cgrand implements,
and I can cert
Just nitpicking, but for me those thread-first/last operators beg for "proper"
formatting with newlines and indentation to emphasize the "threading", like
not:
(-> 2 (* 5) (+ 3))
but:
(-> 2
(* 5)
(+ 3))
also as mentioned before, using thread-first and thread-last to name those
mac
Just trying to understand the issues/solutions for the (de-)serializing of
clojure data structures…
With the tag literal support of 1.4+, is that kind of the idiomatic way of the
future to structure protocols for serialized clojure data/code?
When you say that Nippy is much faster than the read
On Jul 10, 2012, at 1:51 AM, Peter Taoussanis wrote:
> With the tag literal support of 1.4+, is that kind of the idiomatic way of
> the future to structure protocols for serialized clojure data/code?
>
> Sorry, could you clarify what you're asking here - I'm not sure if I follow
> what you mea
Just became aware of this effort: "http://erlangonxen.org/";
which shows off some impressive properties:
* Startup time of a new instance is 100ms
* Instances are provisioned after the request arrival - all requests get handled
* No instances are running waiting for requests - the cloud footprint
We have an smalltalk-like clojure namespace/var/type-browser for
docstrings/clojuredocs/source at "https://github.com/franks42/clj-ns-browser";
that may be of use… which happens to be built on top of seesaw.
-FrankS.
On Jul 25, 2012, at 7:25 PM, Mark Derricutt wrote:
> On 25/07/12 9:17 PM, L
Check out clj-ns-browser ("https://github.com/franks42/clj-ns-browser";).
When a var is defined, you can look at it's value, which is presented with
pprint, which means that most data structures are nicely displayed.
When the value is a list/tree-like data structure, you can bring up Rich's
ori
nder if that implementation as an example would make it easier to have a
clojure-on-erlang-vm implementation.
Enjoy, Frank.
On Jul 13, 2012, at 10:15 AM, Frank Siebenlist
wrote:
> Just became aware of this effort: "http://erlangonxen.org/";
>
> which shows off some im
er
• many invisible improvements...
There are too many other great features to mention here - please take a look at:
"https://github.com/franks42/clj-ns-browser";
Enjoy,
Frank Siebenlist
Andy Fingerhut
--
You received this message because you are subscribed to the Google
Groups "Clojur
I have the same requirement to have a clojurescript-form in my
clojure-environment that I want to evaluate in the browser…
To make the following code-snippet work, you're supposed to have a browser-repl
session running, and start a new repl-session on that same JVM from where you
invoke the fol
I'm trying to understand the clojurescript-code of the repl functionality, and
I'm confused…
The following cljs.repl/eval-and-print function takes a cljs-form, compiles it,
sends it to the browser as javascript, and then receives the result, and the…
try's to use "read-string" on that return va
1 2) (- 3 2)")
(+ 1 2)
Still confused...
-FS.
On Sep 18, 2012, at 11:51 PM, Frank Siebenlist
wrote:
> I'm trying to understand the clojurescript-code of the repl functionality,
> and I'm confused…
>
> The following cljs.repl/eval-and-print function takes a cljs-form
Hubert Iwaniuk wrote:
> If you look at cljs counterpart of it you'll see that maps are send as
> responses, that is why read-string is used.
>
> HTH
>
> Frank Siebenlist wrote:
>>
>> Sorry - I've answered part of my own Q by reading the read-string doc
To be more precise, if you do a (print "something") in a cljs-script, that gets
compiled and evaluated in the browser's js-vm, then the result is sent back
thru a separate http-post and dispatched to the multimethod "handle-post"
implementation for :print in clojurescript's cljs.repl.browser:
-
Trying to use the clojure.reflect/doc function in the cljs-repl,
but I only errors"
---
ClojureScript:cljs.user> (clojure.reflect/doc "clojure.reflect/doc")
nil
Reflection query failed.
ClojureScript:cljs.user> (clojure.reflect/doc clojure.reflect.doc)
nil
Reflection query failed.
ClojureScript
Understand that there are no implementations (yet) of *ns*, all-ns, ns-map,
ns-publics, ns-* for cljs, but was wondering how some of that associated info
could be found at the repl or in your cljs-code…
Could I introspect the java object hierarchy to find some of that information?
Thanks, Frank
The following cljs-repl session shows the issue:
ClojureScript:cljs.user> (def my-var "YES")
"YES"
ClojureScript:cljs.user> my-var
"YES"
ClojureScript:cljs.user> (def my_var "NO")
"NO"
ClojureScript:cljs.user> my_var
"NO"
ClojureScript:cljs.user> my-var
"NO"
ClojureScript:cljs.user> (set
That CLJS-336 feels like a different issue that doesn't map to what I'm
seeing...
On Sep 24, 2012, at 1:45 AM, Raju Bitter wrote:
> Identifiers in JavaScript cannot contain a hyphen/minus character:
> https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variables,_and_literals
>> A
Thanks for digging.
The mapping of "-" to "_" comes indeed from clojure.lang.Compile/munge which is
called by cljsh.compiler/munge:
user=> (#'cljs.compiler/munge "-")
"_"
user => (clojure.lang.Compiler/munge "-")
"_"
user => (clojure.lang.Compiler/munge "_")
"_"
user =>
---
Thanks Stuart - especially @namespaces is very helpful for understanding more
about the resolution process.
On Sep 26, 2012, at 12:00 PM, Stuart Sierra wrote:
> Some of this information exists in the CLJS compiler, although it's not
> documented.
>
> For example, the cljs.analyzer namespace
port 3000.
The cljs-reflect code seems to get a conn from (net/xhr-connection), but I can
not see any port number specified…
I've reached the end of my javascript and goog knowledge… please.
Did anyone get this to work with the lein-cljsbuild setup?
-FrankS.
On Sep 23, 2012, at 2:10 PM,
7;line":10,"\uFDD0'file":"/Users/franks/Development/ClojureScript/swimtimer/src-cljs/example/hello.cljs"});
which is what one expects.
-FS.
On Oct 5, 2012, at 9:13 PM, Frank Siebenlist wrote:
> …bumb…
>
> Is this maybe related to the use of lein-cljsbuil
t;say-hello
>
> doc","\uFDD0'line":10,"\uFDD0'file":"/Users/franks/Development/ClojureScript/swimtimer/src-cljs/example/hello.cljs"});
>
> which is what one expects.
>
> -FS.
>
>
> On Oct 5, 2012, at 9:13 PM, Frank Siebe
te:
> Sorry about the reflect stuff is quite new and in need of work. The reflect
> support should work through whatever port browser REPL was setup on.
>
> On Saturday, October 6, 2012, Frank Siebenlist wrote:
> Ok - I managed to get clojure.reflect/doc to work if the browser loads
I've been digging through the clojurescript code lately, and making some
changes to the repl-related code. This is quite difficult as clojurescript
seems to have its own "proprietary" implementation of a webserver that serves
the repl-communication as well as other possible handlers, like the
r
les to provide ssl, authN&authZ,
websockets/aleph, etc.
Just wanting to here the pros&cons.
-FrankS.
On Oct 8, 2012, at 9:57 AM, David Nolen wrote:
> On Mon, Oct 8, 2012 at 12:51 PM, Frank Siebenlist
> wrote:
>> I've been digging through the clojurescript code latel
idge-cljs is an nrepl http client
> for clojurescript
>
> https://github.com/hiredman/nrepl-cljs-middleware is an example of a
> nrepl middleware, which exposes clojurescript compilation as an nrepl
> command
>
> On Mon, Oct 8, 2012 at 9:51 AM, Frank Siebenlist
> wrote:
&
Understood that was the initial reason, but how about the reflection interface?
Should that be rerendered to use the same CrossPageChannel connection?
-FrankS.
On Oct 8, 2012, at 12:03 PM, David Nolen wrote:
> On Mon, Oct 8, 2012 at 2:38 PM, Frank Siebenlist
> wrote:
>> However
Ok - thanks - slowly start to see the path ;-)
I cannot find an explicit JIRA entry for that "reflection interface over
CrossPageChannel" - should I add one for this, or did I miss the issue#?
-FS.
On Oct 8, 2012, at 12:47 PM, David Nolen wrote:
> On Mon, Oct 8, 2012 at 3
uot; issue, as the
help/reflection facilities when you use lein-cljsbuild are… non-existing, which
raises the barrier to entry for new clojurescript coders and having a repl
without any online doc&friends doesn't feel very lispy.
-FS.
On Oct 8, 2012, at 1:15 PM, David Nolen wro
Interesting project, although I'm still a little unclear about the "convincing"
use cases where you would choose polyfn over protocols...
Also, how does the polyfn implementation compare to the clojurescript protocol
implementation?
-FrankS.
On Oct 8, 2012, at 7:17 PM, Paul Stadig wrote:
>
Hi Andy,
Really believe you should replace the current
http://clojure.org/cheatsheet
with
http://jafingerhut.github.com/cheatsheet-clj-1.3/cheatsheet-tiptip-no-cdocs-summary.html
as the tooltips will help people to navigate the clojure ecosystem, and that's
the version everyone, especially
1 - 100 of 165 matches
Mail list logo