Hi Ambrose,

I would try to help diagnose this, but I can't even try to compile 
core.typed in its present state because of dependencies: core.typed 
declares a dependency on analyze 
0.3.1-SNAPSHOT<https://github.com/clojure/core.typed/blob/78d09859cee78967e9dd0ee7d74e0f52bd3be6f1/project.clj#L3>,
 
which I cannot find anywhere, including the 
source<https://github.com/frenchy64/analyze>on GitHub.

Even if we fix that, there are larger issues with releasing core.typed as a 
contrib library. The Maven-based builds on build.clojure.org do not include 
Clojars.org in their list of repositories. All of the contrib libraries 
released so far have no dependencies other than Clojure itself. There has 
been an *implicit* policy that contrib libraries may not have external 
dependencies, on which Rich has the final say.

Furthermore, according to the policy of the Maven Central 
Repository<http://search.maven.org/>, 
we cannot deploy anything which depends on third-party repositories. 
Therefore we cannot deploy core.typed to the Central Repository unless all 
its dependencies are also deployed there.

I will do whatever I can to help you get core.typed up and running on 
build.clojure.org, but these are the constraints we have to work in. Feel 
free to contact me off-list if you have additional questions.

Thanks,
-S




On Friday, February 22, 2013 2:26:31 AM UTC-5, Ambrose Bonnaire-Sergeant 
wrote:
>
> Hi,
>
> I don't understand why this `assert` fails when the namespace is compiled 
> with `compile`.
> It seems like the datatype A is being compiled twice.
>
> (ns mvn-test.core)
>
> (deftype A [])
>
> (assert (= (class (A.))
>            (class ((fn [] (A.))))))
>
> user=> (compile 'mvn-test.core)
> CompilerException java.lang.AssertionError: Assert failed: (= (class (A.)) 
> (class ((fn [] (A.))))), compiling:(core.clj:5:1) 
>
> Here is the project.clj:
>
> (defproject mvn-test "0.0.1-SNAPSHOT"
>   :source-paths ["src/main/clojure"]
>   :dependencies [[org.clojure/clojure "1.5.0-RC16"]])
>
> I found this behaviour was the root cause of why `mvn test` fails in 
> core.typed,
> while `lein test` works perfectly.
>
> Any pointers would be appreciated.
>
> Thanks,
> Ambrose
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to