This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-25
Channels
- # admin-announcements (1)
- # aws (1)
- # beginners (52)
- # boot (78)
- # cider (22)
- # cljs-dev (1)
- # cljsrn (6)
- # clojars (23)
- # clojure (51)
- # clojure-austin (2)
- # clojure-china (2)
- # clojure-dusseldorf (2)
- # clojure-russia (101)
- # clojure-sg (2)
- # clojure-uk (2)
- # clojurescript (53)
- # core-logic (14)
- # cursive (1)
- # editors (4)
- # hoplon (324)
- # jaunt (1)
- # juxt (4)
- # leiningen (2)
- # mount (17)
- # off-topic (4)
- # om (15)
- # onyx (15)
- # parinfer (4)
- # proton (5)
- # re-frame (26)
- # reagent (24)
- # ring-swagger (1)
- # slack-help (5)
- # spacemacs (2)
- # untangled (10)
@crocket: the dynamic nature of clojure can sometimes bring more convenience (and elegance, although highly subjective)
I can't think of a good example right now, but clojure syntax is easier to read and write than haskell's.
I don’t know if anyone here cares about object capabilities, but for some crossing the stream stuff: here’s applications of relational programs to them 😄 https://people.cs.kuleuven.be/~dominique.devriese/obj-cap-log-rel-eff-param.pdf
anyone know of a tool that detects and removes unused dependencies in your project.clj?
I think lein-ancient
can detect outdate deps, not sure about unused though
https://github.com/clojure-emacs/refactor-nrepl would be the most likely suspect, and it looks like it can't do that.
You'd have to somehow construct a mapping from namespaces to classpath elements and classpath elements to dependencies, then tree shake.
some of the jre apis allow you to override and specify plugins or whatever via property files on the classpath
Anyone knows if clj-aws-s3
is still being maintained? https://github.com/weavejester/clj-aws-s3
roberto: Unfortunately not. It’s not a library I’ve used in a while.
ok, thank you for replying, and for the library. I really like it, but just stumbled on something I need to do but the library doesn’t support. I’ll probably fork it and see if I can make it do what I want.
The original idea was that I didn’t want to expose the underlying implementation in the public API
But in retrospect s3-client probably should be public.
yeah, I need to reuse it so I can call list-object
over and over to get a large list of s3 files
yeah ,I was using that initially, but your library was much more easier to use. It just felt ergonomically better
s3-client should be automatically reused. It’s memoized.
for example, I need a new list-objects
that takes an ObjectList
instead of creds and bucket name
yeah, I was wondering why it wasn’t listing all the files on the bucket, until I read the javadoc.
The url is the repo to deploy to. You can just use :clojars, as Leiningen knows about Clojars as a special place. Join #clojars for more help on this if you like.
Hi a question about schema. I want to define a type as (or A B). I can’t seem to find any docs for it.
there is either
but deprecated https://github.com/plumatic/schema/blob/master/src/cljx/schema/core.cljx#L457
@shriphani: (cond-pre A B)
Is there a way to have the expected value in clojure test return the result rather than the code that was used to generate that result? Example:
(is (= (let [x 1
y 2]
(+ x y)) 4))