FAQ

Search Discussions

69 discussions - 298 posts

  • Clojure 1.9.0-alpha5 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha5 <https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha5 - ...
    Alex MillerAlex Miller
    Jun 7, 2016 at 5:38 pm
    Jun 14, 2016 at 4:30 am
  • I started learning clojure recently, and I am annoyed at the way to run it (aka. lein run). why clojure script can't be run like python,ruby or scala, like python <file .py -- You received this ...
    Jiacai LiuJiacai Liu
    Jun 9, 2016 at 4:08 pm
    Jun 15, 2016 at 3:13 pm
  • Is there an effort to write specs for Clojure's core namespaces? Apologies if this has already been addressed. I've been tinkering with trivial (and probably wrong) fdefs on clojure.core/map and ...
    Ryan FowlerRyan Fowler
    Jun 12, 2016 at 1:52 pm
    Jun 14, 2016 at 1:11 pm
  • Hi all! I'm current working on a project where I am ingesting events off a stream and processing them. There are many many steps involved in the processing component, so I am choosing to write the ...
    Travis DaudelinTravis Daudelin
    Jun 10, 2016 at 6:07 pm
    Jun 11, 2016 at 9:35 am
  • = (pop '(1 2 3)) (2 3) = (pop (seq '(1 2 3))) (2 3) = ((fn [& xs] (pop xs)) '(1 2 3)) ClassCastException clojure.lang.ArraySeq cannot be cast to clojure.lang.IPersistentStack = (pop (map inc (take 5 ...
    Fluid DynamicsFluid Dynamics
    Jun 11, 2016 at 6:37 pm
    Jun 12, 2016 at 3:24 pm
  • Hi - Just noticed that the :ret function in fdef seems to be ignored in 1.9.0-alpha6: user= (require '[clojure.spec :as s]) user= (defn dummy [x] (if x "yes" "no")) user= (s/fdef dummy #_= :args ...
    Alan ThompsonAlan Thompson
    Jun 15, 2016 at 12:01 am
    Jun 17, 2016 at 6:11 pm
  • Hi, I’m happy to announce a new release of Flake, the decentralized, k-ordered unique ID generator. Flake 0.4.0 includes a number of important breaking changes, but by far the most important is ...
    Max CountrymanMax Countryman
    Jun 3, 2016 at 1:03 am
    Jun 17, 2016 at 2:31 pm
  • "Warning: ** not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic ** or change the name." *foo* is earmuffed, but ** has ...
    Fluid DynamicsFluid Dynamics
    Jun 4, 2016 at 10:25 pm
    Jun 7, 2016 at 5:46 am
  • Clojure 1.9.0-alpha6 is now available. Try it via - Download: https://repo1.maven.org/maven2/org/clojure/clojure/1.9.0-alpha6 - Leiningen: [org.clojure/clojure "1.9.0-alpha6"] 1.9.0-alpha6 includes ...
    Alex MillerAlex Miller
    Jun 14, 2016 at 5:31 pm
    Jun 16, 2016 at 1:29 pm
  • Hello Everyone! We published the third episode of defn yesterday in which we take a tour of REPLs in Clojure Land. We are very grateful to Mike Fikes <https://twitter.com/mfikes (Planck/Replete/Ambly ...
    Vijay KiranVijay Kiran
    Jun 14, 2016 at 8:12 am
    Jun 16, 2016 at 11:28 am
  • The following lines are copied straight from tryclj.com (2 4 16 256 65536 4294967296) I'm wondering if this behavior is known, because I was really surprised by this. Couldn't this lead to some ...
    Sebastian OberhoffSebastian Oberhoff
    Jun 13, 2016 at 8:27 pm
    Jun 13, 2016 at 9:10 pm
  • Hello, I'm playing around Instaparse library, starting very simple. For input like : { player } I created the following parser: (def ast (ist/parser "TEST = OBJECT <WHITESPACE = <#'\\s+' <CURLY_OPEN ...
    Hussein B.Hussein B.
    Jun 12, 2016 at 7:52 pm
    Jun 13, 2016 at 10:17 am
  • Hi, I have added spec to validation-benchmark[1]. The results are here: http://muhuk.github.io/validation-benchmark/ Could you please take check if the implementation is correct and reasonable? Also, ...
    Atamert ÖlçgenAtamert Ölçgen
    Jun 6, 2016 at 6:37 am
    Jun 11, 2016 at 5:54 pm
  • Let's say I have an object represented by a series of nested maps: {:a {:b 1} :c {:d 2}} and now I'm going to be making a whole slew of edits to the submaps. To do this efficiently, I need to make ...
    Mark EngelbergMark Engelberg
    Jun 3, 2016 at 2:43 am
    Jun 3, 2016 at 5:42 am
  • ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript ...
    David NolenDavid Nolen
    Jun 1, 2016 at 6:02 pm
    Jun 2, 2016 at 1:32 pm
  • I'd like to be able to use clojure.spec for input validation where the specs are stored in a database using a data structure to represent them. s/keys and its requirement to use the registry makes ...
    Brian PlatzBrian Platz
    Jun 17, 2016 at 7:46 pm
    Jun 18, 2016 at 10:50 am
  • Just discovered a cool Chrome extension so that you can get proper syntax highlighting when pasting code into your email. It turns plain-old code into something nice to read: *Plain:* (defn truthy? ...
    Alan ThompsonAlan Thompson
    Jun 15, 2016 at 12:28 am
    Jun 16, 2016 at 10:44 pm
  • Can`t grok how to deffine exclusive groups of :req keys with spec/keys. For а doc sample (s/keys :req [(or ::secret (and ::user ::pwd))]) I expected, that valid combination is a ::secret *either* ...
    Den SemenenkoDen Semenenko
    Jun 15, 2016 at 12:13 pm
    Jun 15, 2016 at 3:27 pm
  • Hi, I am playing around with spec, and really like it so far, but have a problem using fdef with maps. I am obviously missing something trivial, but the following example gives a, to me, weird error ...
    Steen LarsenSteen Larsen
    Jun 10, 2016 at 12:58 pm
    Jun 10, 2016 at 1:37 pm
  • Good morning (at least from my part of the globe), I spent a good chunk of time last night wondering why this chunk of code kept exiting about a minute after being run ...
    Nathaniel YoungNathaniel Young
    Jun 8, 2016 at 2:53 pm
    Jun 9, 2016 at 3:03 pm
  • It seems that protocol fns don't participate in s/fdef specfications. It would be nice they were. Sample: (ns sample (:require [clojure.spec :as s])) (s/instrument-all) ;; Spec a fn (s/fdef f :args ...
    Claudius NicolaeClaudius Nicolae
    Jun 5, 2016 at 4:57 pm
    Jun 7, 2016 at 2:23 am
  • Is it possible to write down a function do the following? (defn foo [input] .... ) (def x "Hello") (def y "Clojure") (foo [x y]) = {:x "Hello" :y "Clojure"} Regards, -Steven -- You received this ...
    Steven ZhouSteven Zhou
    Jun 3, 2016 at 10:06 pm
    Jun 6, 2016 at 2:25 pm
  • Hi, I have a riddle I am not sure how to solve: ``` user= (defn just-a-demo-seq[] (println "in just-a-demo-seq") [1 2 3 4 5 6 7 8 9]) #'user/just-a-demo-seq user= (def do-not-print-it (apply concat ...
    Andy LAndy L
    Jun 2, 2016 at 6:26 pm
    Jun 4, 2016 at 5:09 am
  • Assume I parse with conform. Then I have functions that operate on the value returned by conform. I want to spec them. But I can't get a spec for the value returned by conform (so that I can spec ...
    Leon GrapenthinLeon Grapenthin
    Jun 18, 2016 at 12:37 pm
    Jun 18, 2016 at 5:35 pm
  • I know that Spec and the changes coming to Clojure 1.9 I see that namespace qualified keys have gained some focus. I understand the motivations for this and support it. The one barrier that is coming ...
    Mike RodriguezMike Rodriguez
    Jun 11, 2016 at 4:03 pm
    Jun 14, 2016 at 11:13 pm
  • https://github.com/aengelberg/cljsee Cljsee is a Leiningen plugin that applies the idea of cljx to the new cljc reader conditional format. In other words, as a build step, it parses .cljc files and ...
    Alex EngelbergAlex Engelberg
    Jun 14, 2016 at 6:05 am
    Jun 14, 2016 at 9:34 pm
  • Recently I switched my local cdn from http to https with letsencrypt. I had to provide a trust store ( :jvm-opts ["-Djavax.net.ssl.trustStore=...) because java won't support letsencrypt until "JDK ...
    Elric ErkoseElric Erkose
    Jun 13, 2016 at 4:57 pm
    Jun 13, 2016 at 10:02 pm
  • Hi, I'm currently playing around with clojure spec trying to write a spec for an old program I wrote and stumbled upon the following: Whenever I try to generate something that is both sequential and ...
    Frank VersnelFrank Versnel
    Jun 10, 2016 at 3:01 pm
    Jun 10, 2016 at 3:47 pm
  • Hi everyone, After the release of pedestal 0.5.0 I have updated pedestal-api <https://github.com/oliyh/pedestal-api to make it compatible with the breaking changes. Also in this release: - Better ...
    Oliver HineOliver Hine
    Jun 9, 2016 at 6:37 pm
    Jun 9, 2016 at 7:56 pm
  • Hi there, I have been playing a little bit with clojure.spec and I find it a very nice addition to the core language. One thing I am particularly interested in is the spec of recursive structures, ...
    Frederic PeschanskiFrederic Peschanski
    Jun 9, 2016 at 12:26 pm
    Jun 9, 2016 at 3:09 pm
  • Hi! I'd like to share a project I've been working on this year. Advenjure is a text adventure (or interactive fiction) game engine. Some of its distinctive features are: - Unix-like prompt with smart ...
    Facundo OlanoFacundo Olano
    Jun 8, 2016 at 12:32 pm
    Jun 9, 2016 at 3:01 am
  • Hi, I'm doing something like: (def valid-email (gen/fmap (fn [[name domain]] (str name "@" domain)) (gen/tuple (gen/not-empty gen/string) gen/uuid))) (defspec test-email 100 (for-all [email ...
    TomTom
    Jun 2, 2016 at 2:51 pm
    Jun 3, 2016 at 3:07 pm
  • Am I right that the following reflects a difference in Clojure macros from Common Lisp macros, and if so, am I missing a workaround? The context is my trying to create a cljs wrapper for the qooxdoo ...
    HiskennynessHiskennyness
    Jun 1, 2016 at 8:20 pm
    Jun 1, 2016 at 8:50 pm
  • Ogre [1] is a Clojure dialect of Gremlin, a DSL for querying and otherwise working with Apache TinkerPop [2] graphs. Over the last 6 months or so Ogre maintainers have moved it to target TinkerPop ...
    Michael KlishinMichael Klishin
    Jun 15, 2016 at 9:47 pm
    Jun 18, 2016 at 2:14 am
  • I’m having fun playing with clojure.spec, and I’ve written specs for most fns in clojure.core and 1/3rd of the macros (WIP). Here they are in case you want to play along ...
    LeifLeif
    Jun 16, 2016 at 11:11 pm
    Jun 17, 2016 at 4:14 am
  • The reagent template uses compojure server sider routing and secretary/accountant on the client (cljs) ...
    Joakim MohnJoakim Mohn
    Jun 15, 2016 at 8:36 pm
    Jun 16, 2016 at 10:33 pm
  • From https://clojure.org/guides/spec#_collections: *One important aspect of coll-of and map-of is that they both sample their inputs, checking only a subset of the values for performance reasons. Due ...
    Oded BadtOded Badt
    Jun 15, 2016 at 6:36 pm
    Jun 15, 2016 at 6:53 pm
  • Just saw a tweet from Stuart Halloway pointing to the function which generates ramsom uri's, https://github.com/clojure/clojure/commit/1109dd4eafd95c169add38dd0051be413d9e49d0 I would argue that this ...
    Erik AssumErik Assum
    Jun 15, 2016 at 5:20 am
    Jun 15, 2016 at 12:44 pm
  • Is this the expected return value? = (gen/sample (s/gen (s/alt :s string? :b boolean?))) I am not expecting a vector to wrap each of the sample return values. Best regards, Joe N. -- You received ...
    Joseph Wayne NortonJoseph Wayne Norton
    Jun 15, 2016 at 4:15 am
    Jun 15, 2016 at 4:53 am
  • core.async 0.2.382 is now available. Try it via: [org.clojure/core.async "0.2.382"] 0.2.382 includes the following changes: - Change default dispatch thread pool max size to 8. - Add Java system ...
    Alex MillerAlex Miller
    Jun 13, 2016 at 8:14 pm
    Jun 13, 2016 at 9:10 pm
  • Rich's session on the Cognicast brought up interesting questions for me. - Is Clojure.spec being applied within clojure.core and other parts of the language? - Has the test.check capability led to ...
    Philip MarkgrafPhilip Markgraf
    Jun 13, 2016 at 6:18 am
    Jun 13, 2016 at 8:45 am
  • At 2016-06-13 00:00:00 UTC[1], we'll be taking down the Clojars web interface to do database maintenance and deploy some features/fixes. The biggest change in this deploy will be the introduction of ...
    Toby CrawleyToby Crawley
    Jun 10, 2016 at 8:01 pm
    Jun 13, 2016 at 1:07 am
  • I need to build more complex package using boot-cl. I have cited my request put on the StackOverflow: Copy of What is replacement to maven-assembly-plugin in boot-clj environment? ...
    Jacek GrzebytaJacek Grzebyta
    Jun 9, 2016 at 3:46 pm
    Jun 9, 2016 at 6:33 pm
  • Hi! I noticed there’s no conform variant that throws instead of returning keyword in clojure.spec. Is it intentional? I’m asking because it seems repetitive to check return value, then call ...
    Nikita ProkopovNikita Prokopov
    Jun 8, 2016 at 1:19 pm
    Jun 8, 2016 at 1:33 pm
  • The Cognicast that was just released is Rich talking about clojure.spec so some people might be interested: http://blog.cognitect.com/cognicast/103 -- You received this message because you are ...
    Alex MillerAlex Miller
    Jun 7, 2016 at 3:27 pm
    Jun 7, 2016 at 4:18 pm
  • I think the tradition is more general: abstract process which need missing process passed in(seems all high order functions under this category) should have missing process comes first as it's ...
    Shark XuShark Xu
    Jun 1, 2016 at 11:56 am
    Jun 1, 2016 at 12:13 pm
  • Parts 1 & 2 of a three-part series introducing Qxia, a framework for programming qooxdoo mobile <http://manual.qooxdoo.org/5.0.1/pages/mobile.html via ClojureScript (with dataflow/reactive Cells ...
    HiskennynessHiskennyness
    Jun 18, 2016 at 12:11 pm
    Jun 18, 2016 at 12:11 pm
  • ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript Leiningen dependency information: [org.clojure/clojurescript ...
    David NolenDavid Nolen
    Jun 17, 2016 at 8:33 pm
    Jun 17, 2016 at 8:33 pm
  • core.async 0.2.385 is now available. Try it via: [org.clojure/core.async "0.2.385"] 0.2.385 includes the following changes: - bump dependency on clojure.tools.analyzer.jvm to latest -- You received ...
    Alex MillerAlex Miller
    Jun 17, 2016 at 4:48 pm
    Jun 17, 2016 at 4:48 pm
  • Guys, I've just got round to pushing some ideas I have about Event Stream Processing in a Clojure World to GitHub. Please have a look at the README.md https://github.com/JulesGosnell/killer If anyone ...
    JulesJules
    Jun 16, 2016 at 7:52 pm
    Jun 16, 2016 at 7:52 pm
Group Navigation
period‹ prev | Jun 2016 | next ›
Group Overview
groupclojure @
categoriesclojure
discussions69
posts298
users128
websiteclojure.org
irc#clojure

128 users for June 2016

Alex Miller: 44 posts Sean Corfield: 15 posts Fluid Dynamics: 12 posts Mark Engelberg: 8 posts Alan Thompson: 7 posts : 6 posts Atamert Ölçgen: 6 posts Hiskennyness: 6 posts James Reeves: 6 posts Leon Grapenthin: 6 posts David Nolen: 5 posts Max Countryman: 5 posts Travis Daudelin: 5 posts Antonin Hildebrand: 3 posts Ashish Negi: 3 posts Colin Fleming: 3 posts Daniel: 3 posts Daniel Compton: 3 posts Gary Trakhman: 3 posts Herwig Hochleitner: 3 posts
show more