This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-30
Channels
- # admin-announcements (42)
- # alda (8)
- # aws (10)
- # beginners (22)
- # boot (165)
- # bristol-clojurians (1)
- # cider (6)
- # clara (21)
- # cljs-dev (23)
- # clojure (74)
- # clojure-dev (8)
- # clojure-russia (41)
- # clojurescript (180)
- # core-async (11)
- # cursive (26)
- # datascript (2)
- # datavis (7)
- # datomic (29)
- # editors (1)
- # hoplon (7)
- # jobs (3)
- # ldnclj (4)
- # lein-figwheel (47)
- # leiningen (2)
- # mount (26)
- # off-topic (3)
- # om (163)
- # onyx (56)
- # proton (4)
- # reagent (6)
- # remote-jobs (1)
- # ring-swagger (4)
- # spacemacs (9)
for those using clojure with emacs, is there a way to set the default indentation to always be just 2 spaces instead of forcing evenness with the preceding argument in a function call etc?
Can anyone recommend a decent functional programming language for small command line programs? I tried clojurescript on nodejs, but it is not suitable for a command line program.
@crocket: https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#Impure
Depend on your definition of functional, I suppose. To me it has a distinctly functional slant.
I would rather use haskell or OCaml than Rust for small command line programs. Dealing with memory management is unneccesary in such programs.
@crocket: as you prefer. but just in case here is a nice post on rust. http://science.raphael.poss.name/rust-for-functional-programmers.html#id13
Something like Nimrod could be interesting in that niche also - http://nim-lang.org/
Yeah, fast boot and execution and simplicity of the language probably buy a lot of mindshare there.
I'm curious if Nimrod and Crystal will also become popular there, or will they remain niche.
@crocket: if you want to remain functional then maybe some lightweight scheme like Racket or Chicken?
Pixie is also interesting - https://github.com/pixie-lang/pixie
If by "useful" you mean "I would have to wrap too many C libs by myself" then yeah, probably.
The language is not even documented, other than saying it's based on clojure. I can't afford to be a pioneer in every area.
True enough, though if you look at this example - https://github.com/pixie-lang/pixie/blob/master/examples/gen-docs.pxi - then the only thing giving away it's not Clojure is the ns form. So I guess you would be readily able to code in it.
@blissdev: I believe you want to set clojure-defun-style-default-indent
to a non-nil value to achieve this
Anyone know of lein test
has a verbose mode plugin that prints every deftest
var name before execution?
With Prismatic Schema why do the long, String and double in: (s/validate {long {String double}} {1 {"2" 3.0 "4" 5.0}}) not require a namespace prefix?
Schema interprets Java classes as predicates that check if the given value is of that type.
Though I'm not 100% sure why long
or double
would work, since it's primitves not classes, someone else would need to chime in on that.
Looks like they’re just aliases: https://github.com/Prismatic/schema/blob/master/src/cljx/schema/core.cljx#L198-L228
I'm collecting examples of datascript on the jvm or node, saving a history to a database. So far I have using rethinkdb https://github.com/runexec/PossibleDB