Closed
Description
Hi,
I’d like to request support for the :refer
option, including :refer :all
if feasible, when importing Python modules into a namespace.
This feature would improve interop usage with Python libraries, mirroring the common Python pattern of using from abc import xyz
, which is especially handy when trying to adapt some existing python code into Basilisp.
Contrived Examples using Python standard lib
(import [math :refer [sqrt pi])
(import [os.path :refer [join basename])
(import [datetime :refer :all])
Thanks