How is sci pronounced? Like science or skiing or entirely different?
like sci-fi
at least, that's how I pronounce it ;)
Hi there!
Is there a way to send SCI info about the current file being evaluated? So that (meta #'some-fun-i-defined)
gets the :file
correctly?
@mauricio.szabo yes, you can do: (sci/binding [sci/file "dude.clj"] (sci/eval-string ...))
user=> (sci/binding [sci/file "dude.clj"] (sci/eval-string "(meta (def x))"))
{:name x, :ns #object[sci.impl.vars.SciNamespace 0x348c00d9 "user"], :file "dude.clj", :line 1, :column 12}
Nice, thanks!
so did I but not everyone on our team agreed. good to know, thanks!