Re: Execution Model

2016-08-11 Thread 'John White' via Clojure
Thanks Zach, you've helped me realize I don't ever have to compile my .clj script, but can just load it instead. I gather the performance will be the same as for AOT compilation. Cheers On Thursday, August 11, 2016 at 3:25:21 PM UTC+1, Zach Oakes wrote: > > Not sure there is any direct way to c

Re: Meta-data should be added to deprecated functions?

2016-08-11 Thread Reid McKenzie
I'll do you one better... instead of having a convention for the value of the :deprecated key, use a map so you can have information such as the version in which it was deprecated, planned removal version, alternatives and soforth. On Thursday, August 11, 2016 at 1:54:08 AM UTC-7, Matt Mower wr

Re: Execution Model

2016-08-11 Thread Zach Oakes
Not sure there is any direct way to change that behavior but want to look into Boot scripts if you want to write small scripts without dealing with a main method. Here's a cool demonstration of writing a Boot script that starts a web server at the top level of the file: https://medium.com/@bend

Execution Model

2016-08-11 Thread 'John White' via Clojure
Hello, Does anyone know how to make Clojure behave more like ClojureScript when compiling? That is, I don't want the top level forms evaluated - just analyzed and compiled, so I can write a script of top level forms that won't run when I compile the clj? Thanks, John -- You received this me

Re: Meta-data should be added to deprecated functions?

2016-08-11 Thread Matt Mower
On Wednesday, 10 August 2016 13:22:47 UTC+1, Alex Miller wrote: > In this case, there is not a specific function to point to, rather the use > of a transducer with a chan is the alternative. How about {:deprecated } where the URL could refer to a human-readable/machine-processable description