This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-11
Channels
- # admin-announcements (20)
- # beginners (48)
- # boot (90)
- # cider (33)
- # cljs-dev (5)
- # cljsjs (10)
- # cljsrn (7)
- # clojure (68)
- # clojure-austin (5)
- # clojure-bangladesh (4)
- # clojure-finland (10)
- # clojure-gamedev (1)
- # clojure-madison (7)
- # clojure-poland (15)
- # clojure-russia (75)
- # clojurescript (25)
- # core-async (23)
- # cursive (5)
- # data-science (43)
- # datomic (15)
- # dirac (26)
- # editors (10)
- # emacs (2)
- # euroclojure (12)
- # funcool (23)
- # hoplon (7)
- # immutant (68)
- # jobs (24)
- # jobs-discuss (1)
- # juxt (1)
- # keechma (9)
- # ldnclj (7)
- # luminus (66)
- # off-topic (54)
- # om (170)
- # proton (7)
- # re-frame (1)
- # reagent (15)
- # ring-swagger (11)
- # spacemacs (6)
- # testing (1)
- # vim (1)
- # yada (19)
oh, actually I don’t think it is a method, for example, how would I do this in clj?
int i =132;
byte b =(byte)i;
is that C?
wow, I didn't know java had a byte
type
nope, but you have a repl 😛
what ide are you using?
and dont use lein figwheel
configure emacs + cider to work with figwheel through nrepl
i’ve spent so much time configuring stuff, i think i’m tired of trying to get the optimum dev setup already
yeah there is a HUGE advantage
that means that you can use cider jack in
and actually get all your awesome cider features while using figwheel
either that or try to use intellij + cursive for a no frills setup
i follow the instructions here and include wrap-reload, i’m not sure why saving .clj files isn’t reloading my changes..
Generally, Clojure never uses floats
I expect there is a conversion happening in there, probably in the arithmetic operation
@krchia: I can really recommend setting your figwheel dev workflow up to use nrepl from cider. It’s done in under 15 minutes and you’ll just love it.
can anyone point me toward documentation that would explain how to import a 3rd party java library?
there are two levels to that: 1) adding the library as a dependency to your project (usually done in your leiningen project.clj :dependencies) - this adds the Java library to your classpath, making the Java classes available 2) importing the classes for use in your code
which one are you looking for more help on?
(or both :)
for #1 - https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#dependencies
for #2 - http://clojure.org/reference/libs has some examples of using import
to import Java classes and make them available for use in your Clojure namespace
@pez sorry, the difference between using nrepl and lein figwheel+run on terminal is lost on me
I don’t know what kind of workflow you achieve with lein figwheel+run, but with cider jack-in and nrepl you have this direct connection with the browser from your code that I just have not experienced before. Can you evaluate a sexpr in your code easily with your setup?
what do you mean by that? i usually just write in my .clj/cljs file, then save it and look at the changes in the browser