Miron,

There is very little progress on clojure-clr.contrib.   The process is
not that hard, just tedious.  I can give hints to anyone who wants to
work on it.  I plan to work on it next after finishing BigDecimal.

I do see the issues tab on the github site.  However, I've got
contributor status on that, so I may see things other don't.  I don't
have admin capabilities on that site, so I can't enable it.  That
would be up to Rich.

I hope you can at least see the wiki tab.

Regarding this specific issue, (apply (fn [] 1)) doesn't work in
ClojureJVM either, at least not the build I have.

user=> (apply (fn [] 1))
java.lang.IllegalArgumentException: Wrong number of args passed to:
core$apply (NO_SOURCE_FILE:0)

apply requires at least on argument in addition to the fn.

user=> (doc apply)
-------------------------
clojure.core/apply
([f args* argseq])
  Applies fn f to the argument list formed by prepending args to
argseq.

(apply (fn [] 1) nil), (apply (fn [] 1 ()), apply (fn [] 1) []) all
work.


--David



On Oct 31, 2:40 pm, Miron Brezuleanu <mbr...@gmail.com> wrote:
> Hi,
>
> What's the status of clojure.contrib translations for ClojureCLR? Is
> there a clojure-clr.contrib? (couldn't find something like that on
> github).
>
> I'm especially interested in repl-utils, and I'm thinking of starting
> to translate it myself, but it would be nice to avoid duplicating
> effort.
>
> Also, I didn't see an Issues tab on the ClojureCLR page on GitHub. The
> issue I'd like to report is a small one, `apply` behaves differently.
> For instance, on Clojure JVM the following works:
>
> user=> (apply (fn [] 1))
> 1
>
> It doesn't work on the latest ClojureCLR. Of course, this is
> equivalent to "((fn [] 1))" (which works on both Clojures) but I find
> the `apply` version clearer than double parentheses.
>
> Sorry about multi-topicness and thanks for any pointers,
> --
> Miron Brezuleanu
--~--~---------~--~----~------------~-------~--~----~
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 group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to