I've written a library that tries to solve this, instead of making conforms
that do coercion, it uses the spec and a separated registry to conform the
value (similar to what spec does to find the generators for a given spec).
You can find the library at:
-17
On Thursday, June 4, 2015 at 6:35:08 AM UTC-5, Wilker wrote:
Hi, good morning.
I have this query here:
[:find ?track (count ?lessons)
:where
[?t :track/name ?track]
[?lessons :lesson/track ?t]
]
A lesson has a track (so a track can be on multiple lessons), and with
this query I
Hi, good morning.
I have this query here:
[:find ?track (count ?lessons)
:where
[?t :track/name ?track]
[?lessons :lesson/track ?t]
]
A lesson has a track (so a track can be on multiple lessons), and with this
query I can return the track names and the number of lessons where this
track is
Hi guys,
I'm trying to find the best way to call a function that accepts keyword
arguments (in my case it's the set-style! on Enfocus library) with a map.
So, an example of the regular call:
(set-style :color red :cursor pointer)
I would like to call with a map (because that way I can manage
, 2015 at 9:44 AM, Francis Avila fav...@breezeehr.com
wrote:
Not fundamentally different from your approach:
(apply set-style (apply concat {:color red :cursor pointer}))
On Friday, February 13, 2015 at 11:30:44 AM UTC-6, Wilker wrote:
Hi guys,
I'm trying to find the best way to call
, however, I find that keyword arguments are more trouble than
they're worth. You only save two characters, and give up a lot on terms of
being able to easily compose and extend functions.
- James
On 13 February 2015 at 17:30, Wilker wilkerlu...@gmail.com wrote:
Hi guys,
I'm trying to find
Yeah, I'm going to let it go, hopefully I'll find some way of handling it
on future, for now keeping the extra versions is not that bad.
Thank you everyone.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 22, 2014 at 6:01 PM, Leon Grapenthin
the
limitations and keep all my custom versions that can handle async
processing...
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 22, 2014 at 4:22 PM, Leon Grapenthin grapenthinl...@gmail.com
wrote:
The steps of your transducer composition
.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please
can't deref a
channel into a sync fashion.
But the point remains, there is way to seamlessly handle async and sync
operations using the same transducers? Or something like it.
Best regards.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Sun, Sep 21, 2014
: (filter (comp !!
my-chan-pred))
But in Javascript that's not possible since it can't support read blocking.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Sun, Sep 21, 2014 at 8:50 PM, Leon Grapenthin grapenthinl...@gmail.com
wrote:
Why would you want
really have a solution here, that's why I would like to know if
other people have got into this situation, and how you are handling it.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Sun, Sep 21, 2014 at 8:53 PM, Wilker wilkerlu...@gmail.com wrote:
Because
before, but with transducers.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new
for the
returned value on the operation.
Not sure how that could ever be integrated into regular transducers (maybe
they could be extended somehow to include this feature selectively to avoid
the overhead), but for now this is the best that I could came up with.
---
Wilker Lúcio
http://about.me
a solution to my issue :)
Hope it can help others that may got into similar issue.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Sun, Sep 21, 2014 at 11:29 PM, Wilker wilkerlu...@gmail.com wrote:
Hi, I did some progress here, I was able to manage to create
3]
It seems that it only works if the channel had the value before the
transducer call the `take!`, seems that unless it has the value immediately
available, it doesn't works...
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 22, 2014 at 12:00 AM
Thank you for the release.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Fri, Sep 19, 2014 at 12:49 PM, Alan Dipert a...@dipert.org wrote:
Here is a bookmarklet that turns /CLJS-\d+/ text into link:
https://dl.dropboxusercontent.com/u/12379861
Nice, started watching yesterday, they are awesome. Thank you very much.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Fri, Sep 19, 2014 at 3:49 AM, Gomzee gettingerr...@gmail.com wrote:
I tried to open this link (https://tbaldridge.pivotshare.com). Its
to navigate, on the first page you have to go
all the way on a small link to continue to the next step, would be nice to
have a general full index (like a book) and consistent buttons to navigate
back/forward.
Besides that, nice job, thanks for taking the effort to make it :)
---
Wilker Lúcio
http
Awesome! Thank you very much!
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Fri, Sep 19, 2014 at 5:33 PM, Bruce Durling b...@otfrom.com wrote:
Alex,
Thanks for getting the videos up so quickly!
cheers,
Bruce
On Fri, Sep 19, 2014 at 9:31 PM, Alex
Nice tricks, thanks again :)
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Tue, Sep 16, 2014 at 7:51 PM, James Reeves ja...@booleanknot.com wrote:
On 16 September 2014 17:06, Herwig Hochleitner hhochleit...@gmail.com
wrote:
2014-09-16 17:28 GMT+02:00
.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please
Forgot to mention, I tried the (get-else) but it raises an error about
cardinality many not supported, so I guessed it doesn't works here...
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Thu, Sep 18, 2014 at 7:41 PM, Wilker wilkerlu...@gmail.com wrote
love to know.
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Thu, Sep 18, 2014 at 7:48 PM, Ashton Kemerling ashtonkemerl...@gmail.com
wrote:
Couldn't you just retrieve users and use entity to get their photos?
On Thu, Sep 18, 2014 at 4:43 PM
Thank you very much Herwig! The (.join jetty) did the trick :D
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 15, 2014 at 8:50 PM, Herwig Hochleitner hhochleit...@gmail.com
wrote:
Feel free to steal from my jetty component:
https://github.com
... Jetty seems to
hang on an never closes... For that my guess is that some pending operation
is going on preventing it from shutting down at all... A fix could be a way
to force Jetty to close and wait until it's actually closed.
Thanks for the help.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
that it tries to start the server before it have time to shut it down.
Any of you had a similar issue or know how to work around that?
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups
.
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Sat, Sep 13, 2014 at 8:20 PM, Wilker wilkerlu...@gmail.com wrote:
Hi,
I'm trying to apply the ideas from the component library:
https://github.com/stuartsierra/component
My problems is being about
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient
clue about what's wrong... I really
believe that's something with my env, but it's being really hard to track
down what it is.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Mon, Sep 8, 2014 at 6:13 PM, Josh Lehman jalehma...@gmail.com wrote:
Wilker
Actually, I just got an answer on the Datomic list, the problem is that I'm
using Clojure 1.7.0-alpha2.
So, just have to wait for a new version now.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Tue, Sep 9, 2014 at 1:12 AM, Wilker wilkerlu...@gmail.com
?
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please
is a Leiningen plugin, so I need to have this dependency
shared with the plugin users.
Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email
Thanks guys, I'll try it out :)
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600
On Tue, Sep 2, 2014 at 2:03 PM, Jony Hudson jonyepsi...@gmail.com wrote:
I think if you're going to distribute a Leiningen plugin then you'll
either need to publish pecoff4j
, there is no such function on default that works as reversed
arguments partial (appending partial arguments at end instead of beginning)?
If it don't, is not a good idea to have one?
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
--
You received this message because you
Hi Miekel,
The main reason is because I feel it is more expressive, and I really love
expressive code :)
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Thu, Oct 20, 2011 at 9:10 PM, Meikel Brandmeyer m...@kotka.de wrote:
Hi,
Am 21.10.2011 um 06:01
Alf, I mean it will be even better if you just generate an infinite lazy
sequence that generates primes, I mean will be really more cool :)
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Thu, Sep 22, 2011 at 1:36 PM, Alf Kristian Støyle alf.krist
...
I really don't like to mix up clojure code with Java, when I really need
Java, I always write some wrappers, so when I use it feels more Clojure.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Tue, Sep 20, 2011 at 8:51 PM, Laurent PETIT laurent.pe
(println (apply str (map char [72 97 112 112 121 32 80 114 111 103 114 97
109 109 101 114 32 68 97 121 33])))
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
Never say bug free, the bugs will hear...
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Thu, Sep 1, 2011 at 8:47 PM, Islon Scherer islonsche...@gmail.comwrote:
I have a big clojure project at work but it's not a secret. It
superseded a old java project
... This is my (for) trial (don't works):
(deftest test-compute-hash
(for [{:keys [path hash]} (vals subdb-test-data)]
(is (= hash (subdb-hash path)) hash don't match)))
How I can make this works? I will need to create a macro for that (I hope
not...)?
---
Wilker Lúcio
http://about.me/wilkerlucio
? Or there is
another way that I can't see to make this lazy list works this way?
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure
Solved by wrapping iterate on take-while :)
(defn tokens-sec [string]
(take-while identity
(iterate (fn [[_ _ string :as info]]
(if ( (count string) 0) (next-token info))) [0 0 string
[]])))
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
Because of you I know had to spend $40 do get this e-book :P
hehe
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
On Fri, Sep 2, 2011 at 6:59 PM, Tassilo Horn tass...@member.fsf.org wrote:
finbeu info_pe...@t-online.de writes:
Just found this:
http
44 matches
Mail list logo