%) ids)))
- boz
On Friday, July 25, 2014 2:32:43 PM UTC-7, Christopher Elwell wrote:
New to Clojure, how is this function that I wrote? Any suggestions for
improvement; is it too complicated?
It filters a sequence, leaving only the first occurrence of each item in
the seq that has a matching
a]))
result)))
???
Thanks!
,boz
--
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 with your
first post.
To unsubscribe from this group
) result []]
(if a
(recur (first b) (rest b) (into result (do-one (first a) (flatten
(rest a)
result)))
On Sunday, June 8, 2014 12:12:19 PM UTC-7, boz wrote:
Is there a better way to take this...
[[:a [1 2]]
[:b [3 4]]]
and convert it to this...
[[:a 1]
[:a 2
Wow! 'for' is a powerful thing!!
This is perfect!
On Sunday, June 8, 2014 12:32:44 PM UTC-7, François Rey wrote:
(for [[k v] [[:a [1 2]] [:b [3 4]]]
n v]
[k n])
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group,
Is there an :autotest for test.check with Leiningen?
Something like midje, where you can do: lein midje :autotest
Many thanks,
boz
--
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 Chris mentioned
above.
Would really appreciate your help.
Clifford
On Monday, 24 February 2014 03:22:22 UTC+2, boz wrote:
I'm having trouble with the Om basic tutorial Higher Order
Componentshttps://github.com/swannodette/om/wiki/Basic-Tutorial#wiki-higher-order-components
using
... should have mentioned, in case it's not obvious, I got through the
basic tutorial using my fork of Mimmo's excellent work.
,chris (aka boz)
On Thursday, February 27, 2014 10:40:23 AM UTC-8, boz wrote:
Hi David, Clifford,
I'm pretty sure Clifford is using the Cider version from
time the HTML
files changes or the namespace of core.cljs changes. Don't know why.
,chris
On Thursday, February 27, 2014 10:50:03 AM UTC-8, David Nolen wrote:
Many thanks for taking the time to implement share your solution!
David
On Thu, Feb 27, 2014 at 1:40 PM, boz b...@cox.net javascript
I'm having trouble with the Om basic tutorial Higher Order
Componentshttps://github.com/swannodette/om/wiki/Basic-Tutorial#wiki-higher-order-components
using
emacs and a slightly modified version
of https://github.com/magomimmo/om-start-template that points to Om 0.5.0
and React 0.9.0.
My
Thanks David!
I get this on a fresh clone (commit
7327bcdc17a665d5fde66376bfef9aa2b21c675a)
Compiling examples/tests/main.js failed.
java.io.FileNotFoundException: examples/tests/src (No such file or
directory)
$ mkdir examples/tests/src
and build again works fine.
--- long version
have I just got it wrong? Does :auto-refresh? do something else?
???
boz
On Wednesday, February 5, 2014 11:16:21 PM UTC-8, boz wrote:
Hi,
I've set up lein-ring with ring :auto-refresh? true but don't see updates
in the browser unless I refresh manually. It seems I have something
the source code of the HTML page being served to see if it's
correctly injecting the script.
- James
On 6 February 2014 16:41, boz b...@cox.net javascript: wrote:
I'm starting to think my expectations are wrong and the :auto-refresh?
doesn't make the browser refresh. I've never seen it work
:)
On Thursday, February 6, 2014 9:25:30 AM UTC-8, boz wrote:
Thanks James!
That was it. Changed my original handler to this and it works perfectly
(defn ring-handler [request]
{:status 200
:headers {Content-Type text/html}
:body (str htmlhead/headbody header change this text
/body
})
The :auto-reload? true works as expected. But not :auto-refresh? true.
I'm after the live coding experience here. And I want it to be with
lein-ring if I can.
(I tried Daniel Szmulewicz's cool emacs way but I think lein-ring will fit
my needs better.)
confuzzled,
boz
--
You received
I'd like to see Ritz with cider too. :)
Just for reference...
there is already an issue on the Ritz
repo: https://github.com/pallet/ritz/issues/112
and there are a number of Ritz related issues on the Cider repo:
https://github.com/clojure-emacs/cider/search?q=ritzref=cmdformtype=Issues
On
I know it's not January yet :) but any firm date set?
thanks!
chris
On Saturday, December 14, 2013 7:21:33 PM UTC-8, Alex Miller wrote:
Clojure/West will be in San Francisco this year. We are working on a
contract for the last week in March but this IS NOT YET a firm date. We
will of course
Just registered!
Thanks! Looking forward to it!
!!! :)
On Monday, December 9, 2013 8:04:05 AM UTC-8, Ron Toland wrote:
Recursd http://recursd.com is a one day technical conference on
functional programming.
Join other programmers and enthusiasts Saturday January 18th, 2014, to
take part
Having fun going through the tutorial! Thanks for the good stuff!
,boz
On Tuesday, July 9, 2013 9:03:58 AM UTC-7, Ryan Neufeld wrote:
Hey there, Clojurians/Pedestallions!
I'm pleased to announce the release of a comprehensive tutorial for
pedestal-app: http://bit.ly/pedestal-app-tutorial
18 matches
Mail list logo