When I run (run* [q] (fresh [x] (== [x] ['z]) (== q x))), I get (z), which
makes sense.
When I run (run* [q] (fresh [x] (== q x))), I get (_0), which makes sense
since I've placed no restriction on x.
However, when I run (run* [q] (fresh [x] (== ['x] ['z]) (== q x))), I get
(), which doesn't m
I am trying to understand transducers and am reading through
https://clojure.org/reference/transducers I think I am missing something,
please can someone help?
I read the part about the 'shape' of a transducer-creating-function (
https://clojure.org/reference/transducers#_creating_transducers) a
On Monday, September 4, 2017 at 3:54:14 PM UTC-5, Peter Hull wrote:
>
> I am trying to understand transducers and am reading through
> https://clojure.org/reference/transducers I think I am missing something,
> please can someone help?
>
> I read the part about the 'shape' of a transducer-creat
Greetings,
I've open sourced a command-line tool I wrote, in Clojure, for pulling SLA
(service-level agreement) stats from JIRA using the JIRA Rest API.
https://github.com/noahlz/cosla
Given a JIRA instance, it can generate some CSV files reporting on the
issues matching a JQL you provide, suc
I'm trying to understand infinite sequences.
Wikipedia defines an implementation of the Fibonacci sequence as:
(def fibs (cons 0 (cons 1 (lazy-seq (map +' fibs (rest fibs))
However, when I wrote fibs in the repl as:
(def fibs (lazy-seq (cons 0 (cons 1 (map +' fibs (rest fibs))
executin