Re: refer-clojure seems to have no effect.
Solved it for me as well. Great :D On Thursday, November 22, 2012 4:03:38 PM UTC+1, Chas Emerick wrote: The user namespace is implicitly created with a blanket refer for clojure.core; removing the mapping for e.g. '== in user would require using ns-unmap. Just use a different namespace. - Chas On Nov 22, 2012, at 8:40 AM, Frederik De Bleser wrote: Hi, I'm trying to use core.logic using the following namespace expression (modelled on core.logic's own test file): (ns user (:refer-clojure :exclude [==]) (:use clojure.core.logic)) However, this gives the following warning: WARNING: == already refers to: #'clojure.core/== in namespace: user, being replaced by: #'clojure.core.logic/== It seems that the refer-clojure line has no effect. What am I doing wrong? Kind regards, Frederik -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clo...@googlegroups.com javascript: Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+u...@googlegroups.com javascript: 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 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
Re: refer-clojure seems to have no effect.
Just use a different namespace. Thanks! That did the trick. Regards, Frederik -- 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
refer-clojure seems to have no effect.
Hi, I'm trying to use core.logic using the following namespace expression (modelled on core.logic's own test file): (ns user (:refer-clojure :exclude [==]) (:use clojure.core.logic)) However, this gives the following warning: WARNING: == already refers to: #'clojure.core/== in namespace: user, being replaced by: #'clojure.core.logic/== It seems that the refer-clojure line has no effect. What am I doing wrong? Kind regards, Frederik -- 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
Re: refer-clojure seems to have no effect.
The user namespace is implicitly created with a blanket refer for clojure.core; removing the mapping for e.g. '== in user would require using ns-unmap. Just use a different namespace. - Chas On Nov 22, 2012, at 8:40 AM, Frederik De Bleser wrote: Hi, I'm trying to use core.logic using the following namespace expression (modelled on core.logic's own test file): (ns user (:refer-clojure :exclude [==]) (:use clojure.core.logic)) However, this gives the following warning: WARNING: == already refers to: #'clojure.core/== in namespace: user, being replaced by: #'clojure.core.logic/== It seems that the refer-clojure line has no effect. What am I doing wrong? Kind regards, Frederik -- 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 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