User:ATDT

=Redis=

=Misc=

Clojure
22:20 (SrPx) ns creates a namespace and uses it, right? mpan 22:20 (SrPx) so it is like a thing you call once? 22:20 shachaf has left 22:20 (SrPx) I'm avoiding it because I do not understand. do I have to name it following some convention based on my files or something? 22:21 (mpan) uh, usually it goes like this 22:21 (mpan) you have separate namespaces, one per file, with corresponding names 22:21 (mpan) the ns statement switches the currently-used namespace for evaluating stuff 22:22 (mpan) so if you eval something, it's done so in a given namespace 22:22 (mpan) so at the repl, you can use ns to switch to evaling stuff in the context of a different namespace 22:23 (mpan) http://blog.8thlight.com/colin-jones/2010/12/05/clojure-libs-and-namespaces-require-use-import-and-ns.html this might help 22:23 (mpan) it covers both separating stuff into namespaces and bringing stuff in from them 22:24 eldariof has joined (~CLD@pppoe-222-244-dyn-sr.volgaline.ru) 22:24 statonjr has left IRC (Quit: statonjr) 22:24 (SrPx) ok thank you mpan 22:24 (mpan) you're always in some name space or another 22:24 lggr has joined (~lggr@84-73-159-126.dclient.hispeed.ch) 22:24 (mpan) and you could switch between them with ns calls 22:25 (mpan) the reason for the naming convention and file structure is so that the runtime knows where to look when you want to bring something in