Skip to content

Import builtin module without prefix #1388

Answered by iacore
MaxGyver83 asked this question in Q&A
Discussion options

You must be logged in to vote

You want to assign new variables. Here's how you get the names with "os/".

(->> (all-bindings) (filter |(string/has-prefix? "os/" $)))

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@iacore
Comment options

@ianthehenry
Comment options

@sogaiu
Comment options

@MaxGyver83
Comment options

@ianthehenry
Comment options

Answer selected by MaxGyver83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants