I want to be able to access several functions in several namespaces by including one single namespace in other places..
eg, assume I have vehicles.clj, car.clj, bike.clj, and handler.clj.
I want to be able 'inherit' or include all methods from car.clj and bike.clj in vehicles.clj so I can just use or require vehicles.clj in my handler.clj namespace (or any other namespace) and call functions in car and bike.cljs.
Not unlike parent and children classes in C#. Is this possible?
The reason I need this is because I've split up many functions into different files so as to keep the separation of concerns, but I want also want to be able to just include the main file (say, vehicles.clj as (:use [myproject.vehicles]) in any other namespace / files and call the functions in all those classes.
Is there a better way to do this?
Thanks.