Hi,
Here's how I would summarize it:
- Common Lisp = big standard, very old, unlikely to change in the future,
complex and powerful object system, several implementations, almost all
mature and efficient, has some quirks with historical roots
- Scheme = small standard, also very old, changing bu
Hi,
Pardon the ignorance, I was just rewatching Rich Hickeys talk about
core.async, and realized that the await call is actually a continuation
(like call/cc from scheme). And if I am not mistaken, you can't implement
call/cc with macros, so I suspect there is a difference, but I fail to see
i
Hi,
Is there an elegant way to use a doseq or for and also get an index to use?
I find myself using map-indexed in these cases, and I prefer more the for
constructs.
(doall (map-indexed
(fn [i x]
;do stuff with side effects using i and x
)
a-lazy-seq))
Chee
Hi,
Is it possible to have a browser based repl for clojurescript with
counterclockwise? I tried to set up one as described on the clojurescript
site, but my impression was that ccw is not able to send forms for
evaluation.
Cheers,
Razvan
--
You received this message because you are subscrib
marți, 13 august 2013, 23:13:39 UTC+3, Russell Whitaker a scris:
>
> Speaking of "the purpose of the poll," what is it? What purpose does an
> off-list
> poll serve that an on-list answer doesn't? I'm curious: is this for a
> school assignment
> or for an employer or...?
>
> R
>
>
Statistics
luni, 12 august 2013, 18:34:34 UTC+3, Phillip Lord a scris:
>
> David Pollak > writes:
> > The survey itself is too "flat". It's like asking "do you like red or
> > green?" Well... I like green on my walls, but I like red on my ties.
>
> I'd agree with this.
>
> "Do you like" is also a relati
luni, 12 august 2013, 11:00:27 UTC+3, Alan Forrester a scris:
>
>
> Do you have arguments against Clojure's current syntax?
>
> Alan
Well, there are disadvantages. And I don't mean Clojure in particular, but
lisp in general. Flattening everything to lists and similar data structures
sucks ou
Hi,
I'm curious about the general opinion on the Clojure syntax, whether people
actually like it or just use it because it provides macros. So I would like
to ask you to participate in a poll. Thank You.
Here's the link:
https://docs.google.com/forms/d/1GSgfkeThpUYlgFVzhhNIgA1JbTilu6S9eudq_Sbxl
> I've seen a couple instances where people used a couple levels of
> protocols (e.g., one function dispatching on the type of the first argument
> in turn calling something that dispatches on the second argument) in order
> to get some additional speed with multiple dispatch on type, but I ha
The keyword here is speed. Multimethods are not fast. They don't use the
JVM for dispatch (as far as I know). Protocols are fast. That's the reason
for their existence. I want to find out whether there's some effort
invested in making fast multiple dispatch in Clojure (and how else can it
be bu
Hi,
I'm looking for fast lisp style generic functions in clojure. In other
words: multimethods that dispatch on the java type.
A search on the web revealed little, since protocols and multimethods
always show up. I have also seen some old discussion in this group on the
topic, but I couldn't fi
I also do not think that this is a bad thing.
First, I don't see the many implementations of lisp as a "mistake". They
are all bound together by the language standard, which is good enough for
compatibility, meaning that most of the time you won't need to use
implementation specific features. A
Hmm, I'm stuck again. :)
I don't know why, but it seems that building the project with *
lein-cljsbuild* does not accept :import. Here's the code:
(ns habarnam
(:use [domina :only [xpath]])
(:import [goog.ui [Button]])
And here's the compilation error:
Compiling ClojureScript.
Compiling
uot;) (goog.dom/getElement "b1"))
Razvan
luni, 15 aprilie 2013, 21:13:19 UTC+3, Răzvan Rotaru a scris:
>
> Hi,
>
> I am currently unable to get to the bottom of a "undefined nameToPath"
> error in clojurescript. Here's the script:
>
> *test.cljs:*
> (
Hi,
I am currently unable to get to the bottom of a "undefined nameToPath"
error in clojurescript. Here's the script:
*test.cljs:*
(ns test
(:require [goog.dom :as gdom] [goog.ui :as gui]))
(.render (new gui/Button "Hello!") (gdom/getElement "b1"))
And the compiled output:
*test.js (compile
Hi,
I am trying to use some compiled clojurescript and I'm getting following
error:
Error: No protocol method ILookup.-lookup defined for type object: [object
HTMLSpanElement] - core.js (line 85)
My HTML is following:
http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dijit/themes/claro/claro.cs
16 matches
Mail list logo