Great! Thank you so much for 1.3 support!
--
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 unsubs
BTW, http://www.clojureql.org/ is down, do you know what happened?
--
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 yo
Hi Marek!
I would def a protocol CustomArithmetics and include the the nescessary
methods for arithmetics, and then a deftype for each custom arithmetics. It
would be possible to extend the protocol for Longs and Integers as well, if
needed.
If you would like to use the normal operator-names +,-
Marek Kubica writes:
> I am idly thinging on how to create types with special restraints on
> them, like being only in the range 1-1000 or only even numbers etc and
> all normal operations like + and - still being valid.
+ and - would have wrap-around semantics, I guess?
> Anyone has an idea ho
Hi Dave,
very cool - I love that you're working on improving the explorability of the
system. It's clearly a focus that REPL driven development emphasises and I hope
we see more people working in this area.
Sam
---
http://sam.aaron.name
On 21 Dec 2011, at 03:24, Dave Ray wrote:
> Hi,
>
> I'
If anyone were to consider, I would vote for ClojureQL 1.1 to factor
out the Relational Algebra engine into a subcomponent with independent
presence on Clojars.
Regards,
Shantanu
On Dec 20, 5:22 am, Herwig Hochleitner wrote:
> Hello,
>
> we've finally got around to do a bug fix release for Cloju
Hi
Regarding explorability, what would be the best way to provide an repl
directly in a Seesaw app?
/kevin
On Dec 21, 2011 10:12 AM, "Sam Aaron" wrote:
> Hi Dave,
>
> very cool - I love that you're working on improving the explorability of
> the system. It's clearly a focus that REPL driven de
Hi,
Thanks for your mail, glad to get ideas so fast :)
On Wed, 21 Dec 2011 09:51:04 +0100
Linus Ericsson wrote:
> I would def a protocol CustomArithmetics and include the the
> nescessary methods for arithmetics, and then a deftype for each
> custom arithmetics. It would be possible to extend t
Hi,
Wow, thanks for all that input :) It is always a pleasure to post on
this list, to get such good advice.
On Wed, 21 Dec 2011 09:51:31 +0100
Tassilo Horn wrote:
> > I am idly thinging on how to create types with special restraints on
> > them, like being only in the range 1-1000 or only even
Hello Dave !
2011/12/21 Dave Ray :
> Hi,
>
> I've just release Seesaw 1.3.0. Details of this release can be found
> in the release notes [1]. There are a few features I'm pretty happy
> about, so I'll mention them briefly here.
>
> Interactive development: So far, learning Seesaw has meant getting
On 21 Dec 2011, at 12:42, Laurent PETIT wrote:
>
> As a tool builder, I'd also be interested if what is printed in *out*
> by these functions could also be made available as pure data, so that
> e.g. at some point in time, CCW could provide a specialized tabular
> view to display (edit?) this in
Hi,
Am 21.12.2011 um 13:56 schrieb Sam Aaron:
> One approach to achieving that is to create a special type which represents
> the data and for which you also override the print-method.
A simple approach is a get-option-info and a print-option-info. Toolsmiths use
get-option-info to get the dat
On 21 Dec 2011, at 13:10, Meikel Brandmeyer wrote:
> Hi,
>
> Am 21.12.2011 um 13:56 schrieb Sam Aaron:
>
>> One approach to achieving that is to create a special type which represents
>> the data and for which you also override the print-method.
>
> A simple approach is a get-option-info and
2011/12/21 Marek Kubica
> Hi,
>
> Thanks for your mail, glad to get ideas so fast :)
>
> On Wed, 21 Dec 2011 09:51:04 +0100
> Linus Ericsson wrote:
>
> > I would def a protocol CustomArithmetics and include the the
> > nescessary methods for arithmetics, and then a deftype for each
> > custom ar
Thanks Sam! Of course my experience with Overtone had more than a
little to do with this work :)
On Wed, Dec 21, 2011 at 4:12 AM, Sam Aaron wrote:
> Hi Dave,
>
> very cool - I love that you're working on improving the explorability of the
> system. It's clearly a focus that REPL driven developme
Kevin,
Being a Swing app, I'd take a look at how Clooj
(https://github.com/arthuredelstein/clooj) does it.
Dave
On Wed, Dec 21, 2011 at 4:36 AM, Kevin Ilchmann Jørgensen
wrote:
> Hi
>
> Regarding explorability, what would be the best way to provide an repl
> directly in a Seesaw app?
>
> /kevin
Hi Laurent!
...
On Wed, Dec 21, 2011 at 7:42 AM, Laurent PETIT wrote:
> Hello Dave !
>
> 2011/12/21 Dave Ray :
>> Hi,
>>
>> I've just release Seesaw 1.3.0. Details of this release can be found
>> in the release notes [1]. There are a few features I'm pretty happy
>> about, so I'll mention them b
Marek Kubica writes:
Hi Marek,
> Yeah, the problem that I see is that I have an additional set of
> operators, r+, r- and friends, so every consumer has to be aware of my
> numbers and use the proper operations, like the float-operators in
> OCaml +. -. or the BigInteger stuff in Java. I'd like
Vinzent: I figure Lau is updating the Site.
2011/12/21 Shantanu Kumar
> If anyone were to consider, I would vote for ClojureQL 1.1 to factor
> out the Relational Algebra engine into a subcomponent with independent
> presence on Clojars.
>
Factoring CQL is indeed desirable.
The RA compiler and t
Despite Brian Carpenter's warning about torches and pitchforks [1],
I've decided to release a reader-macros package; may Zeus forgive me
for opening this pithos:
https://github.com/klutometis/reader-macros
Here's a trivial example where we implement a reverse-string reader:
(use '[clojure.st
Good to hear it.
One more thing: Shantanu Kumar have proposed to create a clojureql google
group, and I also think it's a good idea. Would you please create it?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloj
Whoops: that's Brian Carper, not Carpenter.
Quoth Peter Danenberg on Setting Orange, the 63rd of The Aftermath:
> Despite Brian Carpenter's warning about torches and pitchforks [1],
> I've decided to release a reader-macros package; may Zeus forgive me
> for opening this pithos:
>
> https://git
On Wed, Dec 21, 2011 at 12:27 PM, Peter Danenberg wrote:
> Despite Brian Carpenter's warning about torches and pitchforks [1],
> I've decided to release a reader-macros package; may Zeus forgive me
> for opening this pithos:
>
> https://github.com/klutometis/reader-macros
>
> Here's a trivial exa
Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
> Ha, I just looked at the source, it's really weird to see λ in
> "clojure" code.
That's a little idiosyncrasy of mine: I've been chastised for it in
the past; maybe `lambda' would be more readable?
--
You received this message bec
2011/12/21 Peter Danenberg :
> Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
>> Ha, I just looked at the source, it's really weird to see λ in
>> "clojure" code.
>
> That's a little idiosyncrasy of mine: I've been chastised for it in
> the past; maybe `lambda' would be more readab
2011/12/21 Aaron Cohen :
> 2011/12/21 Peter Danenberg :
>> Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
>>> Ha, I just looked at the source, it's really weird to see λ in
>>> "clojure" code.
>>
>> That's a little idiosyncrasy of mine: I've been chastised for it in
>> the past; ma
Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
> One thing I'd really want before I even considered using this would
> be some way of restricting the scope of a reader macro to the
> current file. As is, they just have way too much room to interfere
> with your whole world. I'm not
Quoth Aaron Cohen on Setting Orange, the 63rd of The Aftermath:
> Oh excuse me, I was misreading what is going on here with the
> lambda. I thought it was a reader macro, but you're just pulling
> that alias in from some dependency.
Exactly: `λ' and `defλ' are just vanilla macros that shadow `fn'
Is this correct? Are there other ways to convert this java line in clojure?
Java:
boxWidget.GetProp3D().SetUserTransform(t);
Clojure:
(doto boxWidget (-> (GetProp3D.) (.SetUserTransform t)))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
You can also do (.. boxWidget GetProp3D (SetUserTransform t)) or (->
boxWidget .GetProp3D (.SetUserTransform t))
--
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 me
On Dec 21, 12:03 pm, Jonas wrote:
> You can also do (.. boxWidget GetProp3D (SetUserTransform t)) or (->
> boxWidget .GetProp3D (.SetUserTransform t))
Well, neither of these are strictly equivalent to his original code,
which returns the boxWidget; yours return the result of
SetUserTransform. H
I am trying to listen every interaction event that is generated by the
boxWidget, but I am not able to get the solution
(defn myCallback []
(let [t (vtk.vtkTransform.)]
(doto boxWidget
(.GetTransform t)
(-> (.GetProp3D) (.SetUserTransform t))
)))
On Wed, Dec 21, 2011 at 3:10 PM, Alan Malloy wrote:
>
>
> On Dec 21, 12:03 pm, Jonas wrote:
>> You can also do (.. boxWidget GetProp3D (SetUserTransform t)) or (->
>> boxWidget .GetProp3D (.SetUserTransform t))
>
> Well, neither of these are strictly equivalent to his original code,
> which retur
Hi,
Am 21.12.2011 um 23:39 schrieb Dave Ray:
> yeah. it's only 3 characters, but for whatever reason it sees to make
> a difference to me :)
Also to consider: using the dot-in-front version with -> might enable your dev
env to provide much better hints for code completion(*), which might reduce
I am trying to write an application using *command-line-args* to read and
write images:
(defn read-write-image [input-filename output-filename]
(let [reader (ImageFileReader.)
writer (ImageFileWriter.)]
(.SetFileName reader input-filename)
(.SetFileName writer output-filename)
Solved:
(read-write-image (nth *command-line-args* 0) (nth *command-line-args* 1))
--
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
36 matches
Mail list logo