On Monday, April 13, 2015 at 4:48:28 PM UTC+3, Alex Miller wrote:
I think what you're seeing here makes sense.
On Sunday, April 12, 2015 at 3:39:15 PM UTC-5, whodidthis wrote:
Are there any thoughts on code like this:
#_
This says to ignore the next read form
#?(:cljs (def
That's what fixtures are for:
https://clojuredocs.org/clojure.test/use-fixtures
(with-fixture :each (reset-games))
As a side notes, in Lisp it is convention to append ! to those functions
that have side-effects (i.e. mutate state). A good candidate would be
`reset-games!`.
On Monday, April
Your particular example is equivalent to #?(:clj) which is illegal, for the
reason given in the error message you saw.
Normal Clojure comments are far less surprising in their behavior than #_ is
I understand there can be convenience in using #_ when it works.
Andy
Sent from my iPhone
On
Just noticed that I sent my previous email to clojure-dev only – reposting
to all groups involved:
On 13 April 2015 at 16:25, Michał Marczyk michal.marc...@gmail.com wrote:
On 13 April 2015 at 15:48, Alex Miller a...@puredanger.com wrote:
To get the effect you want in this, using #_ *inside*
Cool! May I ask what your motivation was for this?
On Saturday, April 11, 2015 at 3:09:28 AM UTC-7, Lars Andersen wrote:
https://github.com/expez/edn.el
is a library for reading an writing edn from emacs lisp.
--
You received this message because you are subscribed to the Google
Groups
On 13 Apr 2015, at 19:22, Colin Yates wrote:
Ok, thanks Mark.
Ping me on IRC (friend) or Twitter @talios if you have any questions..
--
Mark Derricutt
http://www.theoryinpractice.net
http://www.chaliceofblood.net
http://plus.google.com/+MarkDerricutt
http://twitter.com/talios
Sebastian Bensusan sbe...@gmail.com writes:
As a side notes, in Lisp it is convention to append ! to those
functions that have side-effects (i.e. mutate state).
Well, not in /all/ Lisps. :-) It is the convention in Scheme[1],
for example, but not in e.g. Emacs Lisp or Common Lisp. In the
Thanks for making this easier to use as a library. I find the Dunaj
project very inspiring.
--
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 -
On Mon, Apr 13, 2015 at 9:32 AM, Fluid Dynamics a2093...@trbvm.com wrote:
On Monday, April 13, 2015 at 9:27:33 AM UTC-4, sunitha seo wrote:
Sap Bw Bi Bo Training Centre in Hyderabad | Vijayawada |Guntur | Vizag,
Online Sap Bw Bi Bo Training In USA, sp mm training in hyderabada
May be it is the entry test for applicants ;-) Some kind of cryptoanalytics
job :-)))
понедельник, 13 апреля 2015 г., 19:32:59 UTC+3 пользователь Fluid Dynamics
написал:
On Monday, April 13, 2015 at 9:27:33 AM UTC-4, sunitha seo wrote:
Sap Bw Bi Bo Training Centre in Hyderabad | Vijayawada
Awesome thanks, the only thing is that the reason why I did the
reset-games thing is because in the tests I can reset things every
time.
(testing create new game
(reset-games)
(new-game)
(is (= 1 (length-current-games
If I don't do that then it's harder in the tests to have a
Ok, thanks Mark.
On 13 Apr 2015 06:37, Mark Derricutt m...@talios.com wrote:
On 3 Apr 2015, at 3:14, Colin Yates wrote:
Do you have any references to OSGi and Clojure?
My fork of clojure.osgi is updated for 1.6 and in Maven Central:
https://github.com/talios/clojure.osgi
and a simple
Hi all,
I've just released a version 0.4.0 of Dunaj [1], that contains some
bugfixes and is built on top of Clojure 1.7.0 beta1. Dunaj provides an
alternative core API for Clojure, introducing a set of core language
experiments aimed to improve Clojure language and its core API.
Starting from
Why would that be fine?
On Sunday, April 12, 2015 at 10:39:17 PM UTC+2, whodidthis wrote:
Are there any thoughts on code like this:
#_#?(:cljs (def unrelated-1 nil))
#?(:cljs (def unrelated-2 nil))
#?(:cljs (def unrelated-3 nil))
#?(:clj (def n 10))
#?(:clj (defn num []
Thank you for answer. I will contact with him.
On Monday, April 13, 2015 at 7:19:42 AM UTC+2, Tomek Mańko wrote:
If you're from Poznań you might want to reach out to those guys on twitter
or something - http://nukomeet.com - they seem to be using Clojure (among
others) and have an office in
Hmm... In Clojurescript you can do the following
(try
;; throw something
(catch :default e
e))
When I try the same thing in Clojure, it seems to not be supported. Is
there any plans to support this syntax in Clojure 1.7?
--
You received this message because you are subscribed to the
Is there any working ClojureScript NREPL with this latest setup of CLJ
1.7-beta-1, CLJS3169 and cider-0.9-SNAPSHOT available?
Using weasel-0.6.0-SNAPSHOT with piggieback 0.2.0 gives me a functioning
REPL but code completion and source jump don't work anymore.
Best regards,
Leon.
On Sunday,
The only reason :default exists is because *anything* in JavaScript can be
thrown and there needs to be some way to catch non-Error derived values.
This is not the case for Java of course. :default could probably be aliased
to Throwable, but in the meantime differences like this are now handleable
Ahh ok, makes sense.
mandag 13. april 2015 12.45.35 UTC+2 skrev David Nolen følgende:
The only reason :default exists is because *anything* in JavaScript can be
thrown and there needs to be some way to catch non-Error derived values.
This is not the case for Java of course. :default could
Will we be notified as new content is added so we can update our electronic
versions?
On Monday, April 13, 2015 at 10:01:04 AM UTC-4, Alex Miller wrote:
The errata form is for technical errors, typos, and suggestions.
If you have broader questions or items for discussion, there is also a
Just picked it up! Thanks Alex. Sounds like the sort of thing I've been
wanting more info on for a while now. Looking forward to the reading!
- Matt
On Wednesday, April 8, 2015 at 9:27:58 AM UTC-4, Alex Miller wrote:
Hey all,
I'm very happy to announce that Clojure Applied is now available
There is a ticket to consider a portable solution to this issue:
http://dev.clojure.org/jira/browse/CLJ-1293
On Monday, April 13, 2015 at 5:45:35 AM UTC-5, David Nolen wrote:
The only reason :default exists is because *anything* in JavaScript can be
thrown and there needs to be some way to
Alex,
Would you also like general feedback at the pragprog.com url? Or is that
better here?
Aria Media Sagl
Via Rompada 40
6987 Caslano
Switzerland
+41 (0)91 600 9601
+41 (0)76 303 4477 cell
skype: ariamedia
On Mon, Apr 13, 2015 at 3:16 PM, Alex Miller a...@puredanger.com wrote:
Thanks
Sap Bw Bi Bo Training Centre in Hyderabad | Vijayawada |Guntur | Vizag,
Online Sap Bw Bi Bo Training In USA, sp mm training in hyderabada
http://www.primarkinfotech.com/sapbwbi.php New York, New Jersey,Dallas,
Chicago, Atlanta, UK, Canada, Australia, India. www.primarkinfotech.com/
Thanks Mohit!
There was a bug around this that I had fixed at one point, perhaps I didn't
get that change applied. BTW, for future bugs on the book, it's best to
file them here so we can track
them: https://pragprog.com/titles/vmclojeco/errata
Alex
On Sunday, April 12, 2015 at 1:28:03 AM
I think what you're seeing here makes sense.
On Sunday, April 12, 2015 at 3:39:15 PM UTC-5, whodidthis wrote:
Are there any thoughts on code like this:
#_
This says to ignore the next read form
#?(:cljs (def unrelated-1 nil))
This evaluates to *nothing*, ie nothing is read, so it
The errata form is for technical errors, typos, and suggestions.
If you have broader questions or items for discussion, there is also a
forum available:
https://forums.pragprog.com/forums/352
Probably better to use either of those than this group.
Thanks...
On Monday, April 13, 2015 at
It's not something that's supported in Codox at the moment.
- James
On 13 April 2015 at 17:02, henrik42 henrikhe...@web.de wrote:
Hi,
I'd like to use Markdown in the description of my Leiningen project.clj:
(defproject foo 0.1.0-SNAPSHOT
:description *foo* is my project
:plugins
On Monday, April 13, 2015 at 9:40:39 AM UTC-5, Jonathon McKitrick wrote:
Will we be notified as new content is added so we can update our
electronic versions?
Yes, you should be notified when it's updated. Also, if you visit the
Pragmatic web site and log in, they will notify you if any
Ouch! But that actually makes a lot of sense.
On Mon, 13 Apr 2015 14:58 Alex Miller a...@puredanger.com wrote:
There is a ticket to consider a portable solution to this issue:
http://dev.clojure.org/jira/browse/CLJ-1293
On Monday, April 13, 2015 at 5:45:35 AM UTC-5, David Nolen wrote:
Sounds like you guys have it figured out; conditional reading forms cannot
be ignored, only their results.
Just wanted to make sure, had some bad times with it heh
On Monday, April 13, 2015 at 4:48:28 PM UTC+3, Alex Miller wrote:
I think what you're seeing here makes sense.
On Sunday, April
On Monday, April 13, 2015 at 9:27:33 AM UTC-4, sunitha seo wrote:
Sap Bw Bi Bo Training Centre in Hyderabad | Vijayawada |Guntur | Vizag,
Online Sap Bw Bi Bo Training In USA, sp mm training in hyderabada
http://www.primarkinfotech.com/sapbwbi.php New York, New Jersey,Dallas,
Chicago,
Here are some functional programming job opportunities that were posted
recently:
Clojure Services/Search Engineer at Kontor
http://functionaljobs.com/jobs/8807-clojure-services-search-engineer-at-kontor
Clojure Engineer at Funding Circle
Hi,
I'd like to use Markdown in the description of my Leiningen project.clj:
(defproject foo 0.1.0-SNAPSHOT
:description *foo* is my project
:plugins [[codox 0.8.11]]
:codox {:defaults {:doc/format :markdown}}
[...])
But its not working. Markdown in function descriptions is working fine.
I have bought books while in beta version from Pragmatic Programmers
before, and they always sent me email whenever the book had an update to
its content (I ordered the book on their web site, so they had my contact
info).
Andy
On Mon, Apr 13, 2015 at 7:40 AM, Jonathon McKitrick
35 matches
Mail list logo