Re: require and :require

2013-12-06 Thread Ambrose Bonnaire-Sergeant
By coincidence they are both equivalent and expand to exactly the same code. The latter is preferred, and it's debatable if the former should even be legal. Thanks, Ambrose On Fri, Dec 6, 2013 at 5:07 PM, BillZhang wrote: > hi all, > What's the difference between these two snippets? > > 1. >

require and :require

2013-12-06 Thread BillZhang
hi all, What's the difference between these two snippets? 1. (ns my-ns (require [package.name.a])) 2. (ns my-ns (:require [package.name.a])) They all works!But I wonder what's the differences between them. thx! -- -- You received this message because you are subscribed to the Google Grou