This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-16
Channels
- # arachne (1)
- # beginners (27)
- # boot (17)
- # cider (10)
- # cljs-dev (5)
- # cljsrn (76)
- # clojure (59)
- # clojure-austin (2)
- # clojure-brasil (1)
- # clojure-greece (76)
- # clojure-mexico (1)
- # clojure-quebec (63)
- # clojure-russia (16)
- # clojure-spec (127)
- # clojure-uk (12)
- # clojurescript (72)
- # community-development (7)
- # core-async (3)
- # core-matrix (2)
- # cursive (13)
- # datomic (8)
- # emacs (4)
- # funcool (4)
- # hoplon (148)
- # immutant (5)
- # keechma (2)
- # lambdaisland (5)
- # lein-figwheel (15)
- # leiningen (20)
- # off-topic (23)
- # om (13)
- # om-next (19)
- # onyx (11)
- # planck (11)
- # re-frame (59)
- # reagent (14)
- # rum (34)
- # specter (30)
- # spirituality-ethics (16)
- # uncomplicate (5)
- # untangled (387)
- # yada (2)
I thought lein uberjar would package everything in resources
and put in the uberjar’s classpath
Just in case this is useful to anyone else--- my switch to clojure has finally motivated me to make the leap to emacs over my usual sublime. Of course, the documentation for it is not terribly beginner-friendly at all. Trying out spacemacs, and very slowly collecting everything I learn about how to work the thing in a gist. Linking it here in case anyone is in a similar situation: https://gist.github.com/paultopia/1fcf95aa13ae78000d4b5474f3c6cd2d
how would you go about having protocols which require you to first implement another protocol?
ie I would like to have a functor protocol which means you need to implement fmap for your type
but then I want applicative, which requires you to first be a functor, and then to implement pure and apply?
and then monads should build on top of applicative but also require bind
Should I just use the function satisfies? within those other protocols
Can anyone tell me how to update cider to work with clj-refactor?
do M-x list-packages
, find cider
in the list (you can search with C-s
), press i
, find clj-refactor
in the list, press i
, now press x
to start installation
Thanks @plexus , i already have both installed, does your answer update both?
Ah, thanks!
@gowder: You can also replace SPC-m-s-i with ,-s-i. In fact, this works for all CIDER commands with bindings.
And ,-s-e while editing specific stuff when I don't need to reload the entire file. Edit a function, ,-s-e it, ,-s-e test code.
Talking about testing your creation, it's often really useful to add a (comment) block at the end of the file with some forms to run using ,-s-e in the REPL.