clojure - same function from two ns clashes in repl -
In my copy I have loaded the NS from a file containing the function Now I have another NS, which has a function with the same name. When I type it (`use 'demo.two), then gives me an error How do I stop function name conflict in both NS? In the above, I would like to use the function only from other ns. Thanks You can fully qualify your code calls like parse . Then
(use 'demo.one') works fine when typing in the repl.
Required can avoid conflicts with namespace and
('Demo is required.') (Demo two / parse " EFOO ")
Comments
Post a Comment