Hi, Deniz
I cloned the repo and installed locally to use with my code that count the size
of and article and it was very useful.
Thanks for your contribution and congratulations for your work.
Plinio Balduino
On 27/11/2013, at 05:00, Deniz Kurucu makka...@gmail.com wrote:
Ah yes, sorry
Brasil as soon as other
cities start to organize their own user meetings.
If any of you have any interest, you can have more information about
Rio's meeting in http://www.meetup.com/clj-sp/events/154074712/ and
Sao Paulo's meeting in http://www.meetup.com/clj-sp/events/154319832/
Regards
Plínio
Hi there
What is the ideal way to format Clojure code? I'm following Batsov's Style
Guide but, in some moments, it sounds a bit confuse to me.
To the point:
(reduce +
(filter even?
nums))
or
(reduce
+
(filter
even?
nums))
Which one is preferable, more
David, first of all, congratulations for core.logic.
I would like to start with logic programming, but the texts I found aren't
for starters like me, even though I have a good experience as software
developer and functional programming is not a mistery anymore. What would
you recommend for
any documentation or tutorial can.
David
On Sat, Feb 8, 2014 at 4:26 PM, Plínio Balduino pbaldu...@gmail.com wrote:
David, first of all, congratulations for core.logic.
I would like to start with logic programming, but the texts I found aren't
for starters like me, even though I have
Hi there
I would like to know about your experiences of enlightenment, a-ha!
ou now everything makes sense when you finally understood how LISP
works and what's so hot about that language/family of languages. As
LISP I mean any Lisp dialect, blessed or not by the good old
lispers.
I would to
Hi there
Clojure.org says fn and let are special forms, but using the macro
sourceshows that both are macros calling
fn* and let* respectivelly.
So fn and let are special special forms, or clojure.org is
incorrect/outdated?
If fn and let are really special forms and not macros, could you
Hi there
Is there any difference between declare and def when I'm making a forward
declaration?
Thanks
Plínio
--
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
...@gmail.com wrote:
No difference, but declare can take multiple vars as arguments.
Thanks,
Ambrose
On Thu, Mar 13, 2014 at 9:51 PM, Plínio Balduino pbaldu...@gmail.comwrote:
Hi there
Is there any difference between declare and def when I'm making a
forward declaration?
Thanks
Plínio
You can copy the source to your project or write your own.
That function basically wraps Socket and SocketServer Java classes inside a
loop/recur infinite loop.
Exactly as you already did with Java.
Regards
Plinio Balduino
11 982 611 487
On 03/04/2014, at 22:27, Alex Wang
Hi, Hansen
Fogus (from here) and Nutter (from JRuby) wrote nice posts about it.
http://blog.fogus.me/2011/10/14/why-clojure-doesnt-need-invokedynamic-but-it-might-be-nice/
http://blog.headius.com/2011/10/why-clojure-doesnt-need-invokedynamic.html?m=1
Plinio Balduino
11 982 611 487
On
read, but I can’t see that this is
actually being worked on for Clojure?
4. apr. 2014 kl. 11:43 skrev Plínio Balduino pbaldu...@gmail.com:
Hi, Hansen
Fogus (from here) and Nutter (from JRuby) wrote nice posts about it.
http://blog.fogus.me/2011/10/14/why-clojure-doesnt-need
Hi there
I wrote this code expecting an error, but it worked:
(let [x 3
x (* valor 2)]
x)
; 6
Is It the expected behavior or, considering that a local binding could not
be modified, it should really raise an error?
Thank you
Plínio
--
You received this message because you are
with a new
version of x. The binding above is shorthand for:
(let [x 3]
(let [x 42]
(println x))
(println x))
;; prints:
42
3
Timothy
On Fri, Apr 4, 2014 at 10:23 AM, Plínio Balduino pbaldu...@gmail.comwrote:
Hi there
I wrote this code expecting an error, but it worked
, Robin Heggelund Hansen skinn...@gmail.com
wrote:
Yeah, those were the blog posts I've read, but I can't see that this is
actually being worked on for Clojure?
4. apr. 2014 kl. 11:43 skrev Plínio Balduino pbal...@gmail.com:
Hi, Hansen
Fogus (from here) and Nutter (from JRuby) wrote nice
...@gmail.comwrote:
That's correct, and often clojure compilers (like ClojureScript) many
actually completely rename the variable to something else.
Timothy
On Fri, Apr 4, 2014 at 10:34 AM, Plínio Balduino pbaldu...@gmail.comwrote:
Thank you
I imagined something like that. Anyway
Hi there
It's being hard to find updated documentation with 1.5+ features and I'm
confused about as- and some-.
Basically, what's the difference between the contrib -? and the core
some- ?
Thank you
Plínio
--
You received this message because you are subscribed to the Google
Groups Clojure
Hi there
Is there any restriction about the usage of Clojure logo in magazines, books
and printed materials?
Thank you
Plinio Balduino
--
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
Thank you
On Wed, Apr 9, 2014 at 5:16 PM, Tim Visher tim.vis...@gmail.com wrote:
On Wed, Apr 9, 2014 at 4:06 PM, Plínio Balduino pbaldu...@gmail.comwrote:
Hi there
Is there any restriction about the usage of Clojure logo in magazines,
books and printed materials?
Yes. You must get
/swiss-arrows
- clojure/core.incubator https://github.com/clojure/core.incubator
- Build An Arrow ← http://www.clojure.net/2013/10/16/Build-an-arrow/
Hth
Tim Washington
Interruptsoftware.com http://interruptsoftware.com
On Mon, Apr 7, 2014 at 10:02 PM, Plínio Balduino pbaldu
it's an immutable map that can only have positive integers as keys -- Like
an array?
(My question is child of my complete ignorance, and I'm not questioning
your knowledge or motivation)
Plínio
On Mon, Apr 21, 2014 at 1:40 AM, Zach Tellman ztell...@gmail.com wrote:
This one's pretty simple:
Got it. Awesome.
Good job, Zach
On Mon, Apr 21, 2014 at 1:52 AM, Zach Tellman ztell...@gmail.com wrote:
I could represent the map {0 :foo, 100 :bar} as an array, but it would
have to be a million element array with a lot of empty space. This would be
(maybe) faster w.r.t. lookups, but
Hi there
Is it correct to say that - operator is a kind of monad in Clojure?
Thank you in advance.
Plínio Balduino
--
--
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
.
-marko
On Wednesday, April 3, 2013 8:21:43 PM UTC+2, Plinio Balduino wrote:
Hi there
Is it correct to say that - operator is a kind of monad in Clojure?
Thank you in advance.
Plínio Balduino
--
--
You received this message because you are subscribed to the Google
Groups Clojure
Nothing weird there. Looks like an usual floating point operation.
On Tue, Apr 9, 2013 at 9:27 AM, Rostislav Svoboda
rostislav.svob...@gmail.com wrote:
Can anyone explain me please why I get:
Clojure 1.5.1
user= (* 148.52 0.0256)
3.80211206
The correct result should be:
This article explains better how it works:
http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems
Regards
Plínio
On Tue, Apr 9, 2013 at 9:27 AM, Rostislav Svoboda
rostislav.svob...@gmail.com wrote:
Can anyone explain me please why I get:
Clojure 1.5.1
user= (* 148.52 0.0256)
In languages that doesn't give you support to arbitrary precision like
Clojure do, it's a usual practice compare values using round
functions.
In pseudo-C it would be like that:
float a = 148.52 * 0.0256;
float b = 3.802112;
a == b;
= false
round(a, 5) == round(b, 5);
= true
Or, if possible,
Hi there
Which one is preferred when adding doc-string in a function?
This:
(defn bubbles
Here I put some description
[]
(code))
Or this:
(defn bubbles
Here I put some description
([]
(code)))
Thank you in advance
Plínio
--
--
You received this message because you are
Hi there (I'll translate the announcement)
We opened a Clojure group for discussion in Portuguese (Brazilian,
European and African Portuguese). It's a small effort to increase the
usage of Clojure in Brazil and Portugal and help the newcomers to
enjoy this awesome language.
Regards
Plínio
And there's also a lot less syntax to learn.
On Sun, May 5, 2013 at 3:07 PM, Moritz Ulrich mor...@tarn-vedra.de wrote:
It's also nice for printing on paper. Ink is expensive.
On Sun, May 5, 2013 at 6:49 PM, Michał Marczyk michal.marc...@gmail.com
wrote:
On 5 May 2013 15:19, Simone Mosciatti
Oh heck, residents of Brazil cannot participate.
Legalese things ruin all the fun.
Plínio
On Tue, May 7, 2013 at 2:28 AM, Andy Fingerhut andy.finger...@gmail.com wrote:
I have not heard of this before. Wanted to pass on the word in case anyone
was interested in applying. $2000 grand prize,
'(sad)
On Thu, May 9, 2013 at 11:58 AM, Nico Balestra nicobales...@gmail.com wrote:
Contest is also not open to residents of Brazil, Italy, Quebec, and Saudi
Arabia
I'm UK resident but born Italian and I find the above a bit distressing.
It is better to have 100 functions operate on one
Or sticks, t-shirts, whatever.
I would do it just for fun.
On Fri, May 10, 2013 at 2:18 AM, Terje Norderhaug te...@in-progress.com wrote:
I suggest allowing participants from the listed countries, but give an
eventual prize to a charity of choice to avoid a cash payment.
On Thu, May 9, 2013
404?
On May 10, 2013 8:04 AM, Kelker Ryan theinter...@yandex.com wrote:
I would like to share a library that allows for bodies of code to loop run
until a Clojure Agent send-off is complete.
https://github.com/runexec/hollywood#how
--
--
You received this message because you are
I'm using the localrepo plugin.
On Sat, Jun 8, 2013 at 3:10 PM, Jay Fields j...@jayfields.com wrote:
David Chelimsky recently released:
https://github.com/dchelimsky/lein-expand-resource-paths
On Friday, June 7, 2013 10:37:46 PM UTC-4, David Williams wrote:
Try here
Hi there
I'm writing a talk about Clojure in the real world and I would like to
know, if possible, which companies are using Clojure for production or
to make internal tools.
Thank you
Plínio Balduino
--
--
You received this message because you are subscribed to the Google
Groups Clojure
to
know, if possible, which companies are using Clojure for production or
to make internal tools.
Thank you
Plínio Balduino
-- -- 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
Come on. JavaScript is an awesome and misunderstood language =)
Thank you all for your help. I have lots of examples to show where we're
using Clojure.
Plínio
On Jun 11, 2013 10:20 PM, Eric MacAdie emaca...@gmail.com wrote:
OT, but, personally, I look forward to a world free of Javascript.
I would use loop/recur
something like this:
(loop [item (get-next-entry)]
(when item
(do
(do-something)
(recur (get-next-entry
On Thu, Jun 13, 2013 at 2:20 PM, Josh Kamau joshnet2...@gmail.com wrote:
Hi there ;
How do i implement the following in clojure
I code on Windows, due the company standards, on OSX at my machine and
Android with Clojure REPL. I really miss a machine with Linux.
Plínio
On Sat, Jun 15, 2013 at 10:24 AM, Softaddicts
lprefonta...@softaddicts.ca wrote:
Ubuntu everywhere aside from my iPad :)
Stable and easily customizable.
Hi there
I would like to make a small contribution to Clojure and I would to
like to see if it's already fixed or if there's an issue tracker to
report or find the problem and even continue contributing with the
language development.
Thank you
Plínio
--
--
You received this message because
Thank you
On Sat, Jun 15, 2013 at 2:13 PM, Mikera mike.r.anderson...@gmail.com wrote:
Clojure uses JIRA as an issue tracker:
http://dev.clojure.org/jira/browse/CLJ
See also the contributing guidelines: http://clojure.org/contributing
On Saturday, 15 June 2013 17:05:23 UTC+1, Plinio
Yup. It's the same problem. That lib is only available on OSX.
On Fri, Jun 28, 2013 at 1:04 PM, Gary Trakhman gary.trakh...@gmail.com wrote:
Happens on linux too:
gary@gary-dell:~/dev$ java -jar ~/Downloads/clooj-0.4.1-standalone.jar
#Thread Thread[main,5,main]
Hey, good job.
I missed a cheat sheet like this.
Thank you.
On Thu, Jul 11, 2013 at 3:06 PM, Benjamin Peter benjaminpe...@arcor.dewrote:
Hello,
I went through the clojure core logic code and picked the functions I
though that might go into the cheat sheet. The groups are pretty much
Hi there
What are you using to authenticate with Google, Facebook, GitHub or Twitter?
Thanks
Plínio
--
--
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
Thank you, Chris
I think it will be very useful for my next project.
Regards
Plínio
On Sat, Jul 20, 2013 at 7:19 PM, Chris Kuttruff kuttr...@gmail.com wrote:
When starting a project to create a clojure blog with
ring/compojure/hiccup, I quickly found myself looking for an SQL migration
try
mvn compile -Dmaven.test.skip=true
On Thu, Jul 25, 2013 at 12:24 PM, Horace adram...@googlemail.com wrote:
I am using the clojure maven plugin to build a project. The projects
contains a test, let us mytest.clj, that looks like the following:
(def ^:dynamic *server*
(create-server
Hi, Christian
If you look the sources of create-server, you will see it's using Java
sockets wrapped as Clojure functions. The same thing about Java
threads.
It's not a bad thing and soon or later you will find some Java object
wrapped somewhere.
IMHO, I don't think Clojure need something
Awesome, Steve.
Thank you for the tutorial.
Plínio
On Mon, Aug 19, 2013 at 1:10 PM, Steve Shogren steve.a.shog...@gmail.comwrote:
http://deliberate-software.com/intro-to-macros/
I wrote this tutorial up for a friend of mine who is a Ruby programmer
thinking of learning Clojure, as my
Congratulations
IMHO, local communities are the best way to make the language more popular
and even to create a job market for Clojure.
Wish you all the success
Plínio
On Oct 19, 2013 12:11 PM, Rafik NACCACHE rafik.nacca...@gmail.com wrote:
Dear All,
It is my pleasure to announce that we
Awesome, Josh
And also I am in Brazil.
On Sun, Oct 20, 2013 at 5:13 AM, Josh Kamau joshnet2...@gmail.com wrote:
Conglats. I am working on the same for Kenya.
On Sat, Oct 19, 2013 at 6:14 PM, Plínio Balduino pbaldu...@gmail.com
wrote:
Congratulations
IMHO, local communities
+1
On Fri, Nov 1, 2013 at 6:49 PM, Cedric Greevey cgree...@gmail.com wrote:
I vote for adding :as to import. I've personally thought of other
situations where this could be useful.
Being able to alias a (Java) package might be useful too:
(import '((java.util.concurrent :as juc)
Some will say that Joy of Clojure is not the best choice for the newcomer.
I read all the books more in your list more than once and had the better
comprehension with JoC.
The important thing is that I didn't get Clojure reading the first or second
book. I just really understood after read the
, 2014 at 3:45 PM, Cecil Westerhof
cldwester...@gmail.comwrote:
2014-04-22 20:32 GMT+02:00 Plínio Balduino pbaldu...@gmail.com:
Some will say that Joy of Clojure is not the best choice for the newcomer.
I read all the books more in your list more than once and had the better
comprehension
A nice post by Nikola Peric about this subject with what to read and what
to avoid.
http://deltadata.wordpress.com/2014/04/19/learning-clojure-tutorial-books-and-resources-for-beginners/
Plínio
On Wed, Apr 23, 2014 at 1:27 PM, Cecil Westerhof cldwester...@gmail.comwrote:
2014-04-23 15:05
Hi there
Where is the class clojure.lang.Box used in Clojure?
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Box.java
Regards
Plínio
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
/clojure/lang/PersistentHashMap.java#L141
On Tue, Apr 29, 2014 at 1:21 PM, Plínio Balduino pbaldu...@gmail.comwrote:
Hi there
Where is the class clojure.lang.Box used in Clojure?
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Box.java
Regards
Plínio
--
You
Hi Dave
Sorry if I didn't get it, but doesn't sort already return a list?
Could explain?
Plínio
On Fri, May 2, 2014 at 11:53 AM, Dave Tenny dave.te...@gmail.com wrote:
I have a sequence from a call to 'sort'.
I want a list.
What is the best way to do this?
(apply list (sort ...))?
Hi there
Inside REPL there's a function pst that shows the stacktrace of last
exception:
(doc pst)
-
clojure.repl/pst
([] [e-or-depth] [e depth])
Prints a stack trace of the exception, to the depth requested. If none
supplied, uses the root cause of the
most recent
That's true. My Leiningen is using 1.5.1 yet.
Thank you Stephen.
On Wed, May 7, 2014 at 3:18 PM, Stephen Gilardi scgila...@gmail.com wrote:
On May 7, 2014, at 12:55 PM, Plínio Balduino pbaldu...@gmail.com wrote:
But the documentation also shows that I can set the depth of stacktrace,
what
My one cent:
(defn count-vowels
([^String text]
(count-vowels text aeiouAEIOU))
([^String text ^String accepted-vowels]
(let [vowel? (set accepted-vowels)]
(- text
(filter vowel?)
count
user= (count-vowels Plínio Balduino)
6
user= (count-vowels Plínio
Hi, Randy
ClojureDocs has lots of examples with documentation, 4clojure and Clojure Koans
are excellent start points and you can learn a lot reading the Clojure portion
of Clojure source code.
Regards
Plinio Balduino
11 982 611 487
On 27/05/2014, at 08:58, Randy Chiu randyqi...@gmail.com
I'm also using Java 8 and I didn't have any problem so far.
On Tue, Jun 3, 2014 at 1:20 PM, Rafal Lewczuk rafal.lewc...@gmail.com wrote:
Java8+Clojure seems to work for me (not [yet] in production though).
On 03.06.2014 18:17, Dave Tenny wrote:
The clojure site says 1.6.0 is supported with
Hi there.
I read old threads and I didn't understand why Clojure has bigint and
biginteger.
Could you explain better?
Thank you
Plínio
--
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
\o/
On Mon, Jun 9, 2014 at 3:34 PM, Michael Klishin
michael.s.klis...@gmail.com wrote:
2014-06-09 21:23 GMT+04:00 Alex Miller a...@puredanger.com:
Starting today, we have updated the Clojure Contributor Agreement process.
The prior process which involved signing and mailing a form has been
Thank you, Mark and Mike
Awesome explanation and examples
Plínio
On Sat, Jun 7, 2014 at 8:46 AM, Mike Fikes mikefi...@me.com wrote:
Thanks for the historical perspective, puzzler!
In addition to performance considerations, Clojure Programming points to an
inconsistency between hash codes
I could guess that the problem is in the dot in the project name.
Could you try to change it to zilch-mq or zilchmq and test?
Plínio
On Tue, Jul 8, 2014 at 8:39 AM, zhenxuanpan zhenxuan...@gmail.com wrote:
when i run lein install
lein install
Compiling zilch.mq
Exception in thread main
IMO, ! is used when change any global state. A side effect like print on
screen is not enough to cause a ! in the name. I think that's why the
functions print/println don't have ! =)
Plínio
On Thu, Jul 10, 2014 at 12:28 PM, Cecil Westerhof cldwester...@gmail.com
wrote:
When a function returns
Hi Cecil
Clojure has a clojure.lang.PersistentQueue to work with queues. I don't know
why it doesn't have a reader macro, but works fine and returns you a Clojure
collection you can handle with cons and peek.
You can start with an empty queue with clojure.lang.PersistentQueue/EMPTY or
insert
Hi, Fred
I never used Friend and I don't have parameters to compare so, why Qarth?
I didn't get the Qarth's goal is to fix the problem of Ring/Compojure
and/or Friend apps reinventing the wheel for OAuth. explanation.
Regards
Plínio
On Fri, Jul 25, 2014 at 3:47 AM, Robin Heggelund Hansen
Hi there
Is there any discussion list about Instaparse?
Thank you
Plínio
--
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
That's also my explanation about the use of exclamation mark.
IMHO, +1 for volatile, without !.
Plínio
On Wed, Sep 10, 2014 at 1:05 PM, Mark Engelberg mark.engelb...@gmail.com
wrote:
When I explain to new Clojurists what the ! means, I explain that it calls
attention to a mutation function
Hi Laurens
Are you trying to access http or https? If you use HTTPSEverywhere like me,
the browser will try to load the https version, that really doesn't work
and you'll see only an horizontal strip.
I hope it can help you
Xfeep: thank you very much. I'm moving my web applications to
Awesome, Juan
It's a very fast way to focus on the major issues.
Regards
Plínio
On Wed, Oct 29, 2014 at 12:00 PM, juan.facorro juan.faco...@gmail.com
wrote:
Hi All,
In case someone was interested in the results and how I got to them, I
wrote an article about my attempt to visualize the
Hi, Christian
Did you try the issue list on GitHub?
https://github.com/cemerick/friend/issues
Regards
Plínio Balduino
On Wed, Nov 5, 2014 at 8:20 AM, Christian Egli christian.e...@sbs.ch
wrote:
Hi all
I have a strange interaction between clj-http and com.cemerick/friend. I
don't know
.
Regards
Plínio Balduino
On Thu, Nov 6, 2014 at 9:47 AM, Christian Egli christian.e...@sbs.ch
wrote:
Andy Fingerhut andy.finger...@gmail.com writes:
Try running 'lein deps :tree deps.txt' in each of those projects,
and diff them. I can't explain why the differences are there that
exist
I noticed that. You're correct.
I updated my local copy of httpclient to 4.3.5
Plínio
On Thu, Nov 6, 2014 at 11:23 AM, Christian Egli christian.e...@sbs.ch
wrote:
Hi Plínio
Plínio Balduino pbaldu...@gmail.com writes:
I just forked friend, updated the library versions and opened a pull
Hi, Cecil
Because java.lang.Math#round supports only two types: float and double.
Java won't find the equivalent signature with Ratio or Number.
https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#round(double)
https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#round(float)
Hi Dan
Please accept my two cents.
I prefer the indentation; it makes more sense to me.
No, he didn't misunderstand, sorry.
Anyway, Batsov's Style Guide is an awesome resource, even though you won't
follow the items ipsis literis, is good to understand how to work and think
in the 'Clojure
My one cent:
But I think (and it's just my humble opinion) is in the scope of Clojure
keep its consistency, am I right?
I mean, if doubles and floats are different, and they are, I think we
should always get equality test as false. Or always as true, if they're
nominally the same value.
Regards
Hi there, Alex and Clojure team
Is there a planned date for the stable version release?
Regards
Plínio
On Sun, Jan 11, 2015 at 12:34 PM, Alex Miller a...@puredanger.com wrote:
I would greatly appreciate hearing any feedback about this (or any other)
alpha, even if it's just: everything
This is awesome, Leonardo
On Fri, Jan 23, 2015 at 9:39 AM, Leonardo Borges
leonardoborges...@gmail.com wrote:
bouncer is a validation library for Clojure apps
Github: https://github.com/leonardoborges/bouncer
Clojars: https://clojars.org/bouncer
The main change with 0.3.2 is that bouncer
My two cents:
I started to develop some support to complex numbers in Clojure, but I
don't know if the Core Team/Rich Hickey has any intererest in this subject.
Even it's an unfinished work, I didn't notice any lost of performance so
far.
Regards
Plínio Balduino
On Tue, Apr 28, 2015 at 9:35
Hi
Before we try to guess what Rich will or won't think or want, are you
interested in a proof of concept? So we could evaluate performance and
complexity issues before the subject is definitively buried.
What do you think about it?
Plínio
On Wed, Apr 29, 2015 at 12:56 AM, Mikera
Not that tricky, really. But there's a lot of repetitive work.
I changed the Clojure readers to understand the a+bi format, created a
ComplexNumber class and changed the class on charge of arithmetic to work
with complex numbers.
So it's possible to make any operation mixing Numbers, Ratios and
Hi Alan
Excuse me if I didn't understand your question, but I think a type hint
would solve. Maybe you could abstract this for the final user in Clojure.
(.add (Complex. 1.0 2.0) ^double 2)
On Sat, May 2, 2015 at 8:53 AM, Alan Forrester
alanmichaelforres...@googlemail.com wrote:
Hello
I'm
Excuse me, Fluid. I have to agree with gvim.
But I have the same impression. I think the state of Clojure development
for web is quite immature if you compare with other languages.
To be clear, I could spend lines and lines talking about all the high
quality Clojure library related to web
Mr Herwig
That said: I'd love to see a set of well-maintained, well-documented
project templates to emerge from a common brand, for the benefit of
beginners and 10h website creators.
THIS is exactly what I was discussing right now with a friend.
I think you nailed it.
On Sun, May 3, 2015 at
Hi, Timur
AFAIK, JavaDocs are just comments with some predefined tags that are
completely ignored by Java compiler. As Clojure works directly with
bytecode, I think it's not possible to insert any kind of JavaDoc in
Clojure compiled interface or class.
Regards
Plínio Balduino
On Tue, May 19
Awesome, Klaus
Thank you
Plínio
On Sat, May 30, 2015 at 4:31 PM, Klaus Wuestefeld klauswuestef...@gmail.com
wrote:
Prevalence is the fastest possible and third simplest ACID persistence
technique, combining the two simplest ones.
https://github.com/klauswuestefeld/prevayler-clj
--
You
Thanks for the tutorial
On Thu, Jun 9, 2016 at 2:36 PM, Miguel Ping wrote:
> I highly recommend you to learn some kind of interactive tool for clojure,
> such as emacs+cider.
>
> I wrote a mini tutorial about it:
>
Hi, J
Based on my yet small experience:
Can the Immutable Persistent Data Structures be implemented with a
reference-counting scheme rather than a garbage collector? This may
improve performance.
- Yes, using Smart Pointers. I'm trying something like this, but I'm still
in the very beginning. I
Racket has this feature.
On Wed, Apr 27, 2016 at 11:29 AM, Jason Felice <jason.m.fel...@gmail.com>
wrote:
>
>
> On Tue, Apr 26, 2016 at 7:42 PM, Plínio Balduino <pbaldu...@gmail.com>
> wrote:
>
>>
>> * Is there a way to compile C++ code at runtime?
LISP Flavoured Erlang:
http://lfe.io/
On Tue, Apr 26, 2016 at 9:45 PM, Timothy Baldridge
wrote:
> >> would you consider a Clojure port to Erlang VM a viable idea for
> production workloads? I know Elixir comes pretty close, but I still prefer
> Lisp : ) .
>
> I looked into
So, as Andy pointed, transients would do the trick for you. And maybe type
hints could also help but, as Stuart said, benchmark it all the way down.
Regards
Plinio
On Wednesday, April 20, 2016, JvJ wrote:
> I don't think I'll go with primitive arrays. A big part of the
95 matches
Mail list logo