If you install the Borealis theme (
https://github.com/Misophistful/borealis-cursive-theme) it looks even
better IMO
;
;;; Public
(s/defn glob? :- Boolean
"True if target is a Glob"
[target :- s/Any]
(= (type target) Glob))
On 17 June 2016 at 08:34, Alan Thompson wrote:
>
Hmmm, Never thought of that:
(defn truthy?
"Returns true if arg is logical true (neither nil nor false);
otherwise returns false."
[arg]
(if arg true false) )
Doesn't look half-bad, although I don't always have Cursive/IDEA open.
Alan
On Tue, Jun 14, 2016 at 9:38 PM, Colin Taylor
wro
Even easier, just copy and paste from Cursive :)
--
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
Just discovered a cool Chrome extension so that you can get proper syntax
highlighting when pasting code into your email. It turns plain-old code
into something nice to read:
*Plain:*
(defn truthy?
"Returns true if arg is logical true (neither nil nor false); otherwise
returns false."
[arg]
A few days ago I announced a new released of Srefactor with only a
rudimentary support for Lisp code formatting. Now it is quite complete and
can format a 10k Lisp source file fine in around 10 seconds, with
significant time spending on indentation rather than code rearrangement.
Homepage: htt
Um, I use butterflies?
On Nov 6, 5:35 pm, John Harrop wrote:
> On Fri, Nov 6, 2009 at 7:41 PM, Tim Dysinger wrote:
> > Use emacs! It formats your code while you type :)
>
> Nasty side effect though -- it formats your brain while you type, too.
> Eventually you wind up a gibbering lunatic. :) I'
On Thu, Nov 5, 2009 at 4:57 PM, jan wrote:
> John Harrop writes:
>
> > The following, which I relinquish into the public domain and certify is
> > original to me, takes a string and reformats it as Clojure code,
> returning a
> > string. It behaves similarly to the Enclojure reformatter, but:
>
John Harrop writes:
> The following, which I relinquish into the public domain and certify is
> original to me, takes a string and reformats it as Clojure code, returning a
> string. It behaves similarly to the Enclojure reformatter, but:
> 1. Outside string literals and comments, it will take c
The following, which I relinquish into the public domain and certify is
original to me, takes a string and reformats it as Clojure code, returning a
string. It behaves similarly to the Enclojure reformatter, but:
1. Outside string literals and comments, it will take care of all
spacing.
2. Comme
Hi,
Am 24.03.2009 um 20:08 schrieb Howard Lewis Ship:
Using regular and proper formatting assists in submitting patches.
hahaha! If someone submitting a patch ever adhered to a coding
convention of any sort.
A little Javadoc would be nice as well.
Yes. That would definitively be a good a
+1
Using regular and proper formatting assists in submitting patches.
A little Javadoc would be nice as well.
On Tue, Mar 24, 2009 at 4:46 AM, Mark Volkmann
wrote:
>
> +1 for running all the code under src/jvm through some code formatter
> that uses something at least similar to the
On Mar 24, 7:46 am, Mark Volkmann wrote:
> +1 for running all the code under src/jvm through some code formatter
> that uses something at least similar to the Sun Java conventions.
>
> On Mon, Mar 23, 2009 at 11:59 PM, BerlinBrown wrote:
>
> > I was curious about how som
You mean by Sun Norvig conventions right ? ;)
http://code.google.com/p/clojure/issues/detail?id=16&q=pretty&colspec=ID%20Type%20Status%20Priority%20Reporter%20Owner%20Summary
On Mar 24, 1:46 am, Mark Volkmann wrote:
> +1 for running all the code under src/jvm through some code forma
one with this
> "convention" thing? ;)
>
> David
>
> On Tue, Mar 24, 2009 at 8:05 AM, Laurent PETIT wrote:
>
>
>
> > Why you guys want to suppress all the fun from clojure ? ;-) :-p
>
> > 2009/3/24 Mark Volkmann
>
> >> +1 for runn
4 Mark Volkmann
>
>
>> +1 for running all the code under src/jvm through some code formatter
>> that uses something at least similar to the Sun Java conventions.
>>
>> On Mon, Mar 23, 2009 at 11:59 PM, BerlinBrown
>> wrote:
>> >
>> > I was curi
Why you guys want to suppress all the fun from clojure ? ;-) :-p
2009/3/24 Mark Volkmann
>
> +1 for running all the code under src/jvm through some code formatter
> that uses something at least similar to the Sun Java conventions.
>
> On Mon, Mar 23, 2009 at 11:59 PM, Berli
+1 for running all the code under src/jvm through some code formatter
that uses something at least similar to the Sun Java conventions.
On Mon, Mar 23, 2009 at 11:59 PM, BerlinBrown wrote:
>
> I was curious about how some of the clojure code worked and observed
> that the coding s
I was curious about how some of the clojure code worked and observed
that the coding style is a little bit non idiomatic from typical Java
coding conventions. E.g. there aren't any javadoc comments on methods
or classes, non standard indents.
Something like checkstyle might prove useful.
http:/
rect (missing parentheses, ...), thus being more
permissive, while still doing its best to format what it is presented with ?
2009/1/29 Michael Wood
>
> On Wed, Jan 28, 2009 at 6:52 PM, Laurent PETIT
> wrote:
> > Hello,
> >
> > Do you know if there is a clojure cod
On Wed, Jan 28, 2009 at 6:52 PM, Laurent PETIT wrote:
> Hello,
>
> Do you know if there is a clojure code formatter, written either in clojure
> or java ?
Have a look here:
http://groups.google.com/group/clojure/search?group=clojure&q=pretty+print&qt_g=Search+this+grou
Hello,
Do you know if there is a clojure code formatter, written either in clojure
or java ?
It could take a string or InputStream/Reader or File as its input, and
return a well formatted String/outputStream/Writer ?
Indeed, I don't want to reinvent the wheel for clojure-dev, but if
21 matches
Mail list logo