It sounds like you're looking for refer-clojure:
https://clojuredocs.org/clojure.core/refer-clojure
E.g., for your project:
(ns mw.mwm
(:require
[clojure.pprint :as pp]
[clojure.walk :as walk])
(:refer-clojure :exclude [defn])
(:gen-class))
Tested in a fork:
https://github.com/mattia
eclared dynamic"
warnings (http://dev.clojure.org/jira/browse/CLJ-1233)
But in general this doesn't seem well-advertised.
On Sat, May 24, 2014 at 6:01 PM, Gregg Reynolds wrote:
> On Sat, May 24, 2014 at 3:14 PM, Benjamin R. Haskell
> wrote:
> > On Sat, May 24,
On Sat, May 24, 2014 at 3:09 PM, Gregg Reynolds wrote:
> Hi,
>
> In working on an ANTLR grammar for Clojure I came across this regex in
> clojure.lang.LispReader which is used in matchSymbol:
>
> symbolPat == [:]?([\\D&&[^/]].*/)?(/|[\\D&&[^/]][^/]*)
>
> Look at the first part of the second group
`loop` expects a vector of binding forms (with initial values), not just a
vector of names.
(loop [coll counter]; means there is one `loop` binding named `coll`,
with the initial value of `counter`
To fix that problem directly:
(loop [collcoll ; coll starts with an initial value of
On Sat, 18 Jan 2014, Brian Craft wrote:
http://www.youtube.com/watch?v=OEZZOz6__CY
At about 30 min he mentions that gzip, etc. aren't so interesting here
because we can use, um.. something transfer, proxies... don't know
what he's saying. Anyone know what he's talking about?
Slide for conte
On Thu, 30 May 2013, Jim - FooBar(); wrote:
Hi all,
I just stumbled upon this:
http://clojurewest.org/news/2013/5/29/clojurewest-2013-videos-1.html
but I have a question! Can anyone clarify (maybe Alex?) what the dates
right next to the presentation topic mean? Are they when the talk was
giv
On Sun, 17 Feb 2013, Jarod wrote:
James, Aaron and Jim: thanks for your help, but it still get the old
error message and another: "Leiningen managed dependencies issue:
problem resolving following dependencies: [jaad/jaad "0.8.4"]". If
anyone has time, my lein version is 1.7.1 and maven versi
On Sun, 16 Dec 2012, mond wrote:
One small thing Ben... when I try to use the final formulation I receive an
error:
(def joined-products (map product-with-item products))
user=> (joined-products)
ClassCastException clojure.lang.LazySeq cannot be cast to clojure.lang.IFn
user/eval241 (NO_SOUR
On Sat, 15 Dec 2012, mond wrote:
Thanks for picking up the cudgels Ben!
Ha. It's nice to have reached a point where I feel at-all confident
with any of this... happy to help.
To be honest I am struggling to repeat your advice in the REPL. In
any case, I decided to change the data struct
(responses inline)
On Sat, 15 Dec 2012, mond wrote:
I have defined these types of records for modelling a simple shopping cart:
; An item in the cart
(defrecord Item [id name product quantity purchased])
; The product that relates to the item in the cart
(defrecord Product [id name descriptio
On Sat, 15 Dec 2012, Benjamin R. Haskell wrote:
Or if you really want a list, you need to quote it:
(map (fn [item product] '(:id item :description product)) items products)
Oops, wrong. Rather, you would want clojure.core/list:
(map (fn [item product] (list :id item :description pr
11 matches
Mail list logo