Hi,
Am 19.12.2010 um 08:30 schrieb Sunil S Nandihalli:
> Hello everybody,
> It would be nice if calling recur inside a defmethod redispatched on the new
> arguments.. I have shown a simple use-case in the following gist.
> https://gist.github.com/747171
>
> It might be naive .. but I feel IMHO
In Joy of Clojure, there is a callback API to blocking API example in
the section on promises. Chouser outlines it a briefly in a
discussion on Promise/Deliver use cases here -
http://groups.google.com/group/clojure/browse_thread/thread/b1548aa40ba8072/210ec81bfe26032e?lnk=gst&q=promise#210ec81bf
On Sun, Dec 19, 2010 at 5:21 AM, Tim Daly wrote:
> Axiom, a computer algebra system I maintain,
> can dispatch on return type. I am looking at
> the things Clojure can do that might support
> the Spad language (the mathematical language
> in Axiom). I could not find a way to adjust
> the multimet
Hi,
Am 19.12.2010 um 11:36 schrieb nicolas.o...@gmail.com:
> There is no static typing in Clojure. So the notion of return type do
> not really exists.
Yes. The type system of eg. Haskell or OCaml is another layer of information,
which you don't have in Clojure. On the other, it's another bad c
On Sun, Dec 19, 2010 at 11:24 AM, Meikel Brandmeyer wrote:
> Hi,
>
> Am 19.12.2010 um 11:36 schrieb nicolas.o...@gmail.com:
>
>> There is no static typing in Clojure. So the notion of return type do
>> not really exists.
>
> Yes. The type system of eg. Haskell or OCaml is another layer of informat
thanks Meikel for your clarification.. I used to think loop recur almost
removed the need for TCO .. but here is a case where true TCO could be
really helpfull..
Sunil.
On Sun, Dec 19, 2010 at 1:33 PM, Meikel Brandmeyer wrote:
> Hi,
>
> Am 19.12.2010 um 08:30 schrieb Sunil S Nandihalli:
>
> > He
On Sun, Dec 19, 2010 at 10:34 AM, Sunil S Nandihalli
wrote:
> thanks Meikel for your clarification.. I used to think loop recur almost
> removed the need for TCO .. but here is a case where true TCO could be
> really helpfull..
If we had a (resolve-method multi & args) that resolved dispatch and
Hi,
Am 19.12.2010 um 16:46 schrieb Ken Wesson:
> If we had a (resolve-method multi & args) that resolved dispatch and
> then returned a fn that would call the method with those same args --
> so ((resolve-method multi & args)) <=> (multi & args) -- then this
> could be used with trampoline in cas
Description of current plans for future releases is
at http://dev.clojure.org/display/design/Common+Contrib+Build
-Stuart Sierra
clojure.com
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.co
What do people think about extending the definition of partial in core
to work on just a single argument?
That is, if you call partial with just a function and no arguments, it
just returns the function.
It seems to follow logically from the other airties.
For a case where this is useful, see ht
On Sat, Dec 18, 2010 at 11:06 PM, jim wrote:
> David,
>
> I started looking at Logos tonight. Really nice. I like the way its
> heading. Looking forward to using it.
>
> Jim
Thanks! Next steps are:
- disequality constraints
- nominal logic
- tabling
Once those are in, I think that's a good fo
@Ken Wesson: do you mean something like this:
https://gist.github.com/747571
My fists stab at this technique looks kinda ugly though...
Is there a way to somehow embed the trampoline inside the recursive definition?
Is there a way to get the actual dispatch function other than
(.dispatchFn multime
Hi,
Am 19.12.2010 um 19:35 schrieb Robert McIntyre:
> @Ken Wesson: do you mean something like this:
> https://gist.github.com/747571
Maybe I'm missing something, but why don't you just call the multimethod itself
again in the trampoline fn?
Sincerely
Meikel
--
You received this message becau
Does anyone know how to set connection or read timeouts for clj-http?
--
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
There have been discussions, here and elsewhere, about
whether Clojure is a "Lisp". Lots of discussion centers
around facts like homoiconicity, or the REPL, or the
debate of Rich's redefinition of lisp primitives, etc.
These are arguments about the paint on the palace.
I have struggled with this
On Sun, Dec 19, 2010 at 11:33 AM, Tim Daly wrote:
> The most fundamental thing about "Lisp" is that there is
> this universal but personal event when you suddenly
> "get it". This does not seem to happen with other languages.
I think it's true to some extent with most languages - particularly
tho
> Does anyone know how to set connection or read timeouts for clj-http?
I didn't see anything in the API. clj-apache-http has that option though
(setting http.socket.timeout parameter).
HTH,
--
Miki
--
You received this message because you are subscribed to the Google
Groups "Clojure" group
Can you articulate it any better than "ah hah!"?
On Dec 19, 11:33 am, Tim Daly wrote:
> There have been discussions, here and elsewhere, about
> whether Clojure is a "Lisp". Lots of discussion centers
> around facts like homoiconicity, or the REPL, or the
> debate of Rich's redefinition of lisp
"sha-wing"? :D
On Sun, Dec 19, 2010 at 5:41 PM, javajosh wrote:
> Can you articulate it any better than "ah hah!"?
>
> On Dec 19, 11:33 am, Tim Daly wrote:
>> There have been discussions, here and elsewhere, about
>> whether Clojure is a "Lisp". Lots of discussion centers
>> around facts like
so i updated this to work with nested arguments which is what i really
wanted to use it for in the first place. i almost always end up
creating a map of config settings and this makes it easy for me to
override things from the CL.
regarding the getopt stuff, i kind of agree but dont particularly l
Haskell has aha moments too. And it is not lisp.
The definition of "lisp" i accept is much simpler and much more
obvious: source code of the program is a valid data structure in that
language.
On Dec 19, 11:33 am, Tim Daly wrote:
> There have been discussions, here and elsewhere, about
> whet
On Sun, Dec 19, 2010 at 4:31 PM, Vagif Verdi wrote:
> Haskell has aha moments too. And it is not lisp.
er, yeah, 2nd'd. totally. i mean, same for plenty of programming
languages. and certainly not the same thing for everybody. ah-hahs are
subjective. if i "get" lisp but never had an ah hah becaus
On Sun, Dec 19, 2010 at 7:31 PM, Vagif Verdi wrote:
> Haskell has aha moments too. And it is not lisp.
>
> The definition of "lisp" i accept is much simpler and much more
> obvious: source code of the program is a valid data structure in that
> language.
Access to the parse tree. C source code i
On 12/19/2010 6:41 PM, javajosh wrote:
Can you articulate it any better than "ah hah!"?
The proper response is "moo".
But I think there is a point where you "get" concepts
like the distinction between values and identity which
are fundamental. Whatever the event, it feels like
whatever I writ
On 12/19/2010 7:31 PM, Vagif Verdi wrote:
Haskell has aha moments too. And it is not lisp.
The definition of "lisp" i accept is much simpler and much more
obvious: source code of the program is a valid data structure in that
language.
I agree that you can't BE a lisp without homoiconicity. H
On Dec 18, 8:51 pm, javajosh wrote:
> A little googling revealed that Google App Engine will work:
App Engine very much works. Please use https://github.com/gcv/appengine-magic
(and help me test the v0.4.0 branch, which adds support for the latest
App Engine SDK). It's unfortunate that search res
I didn't mean to imply that other people
don't have the "ah-hah!" experience with
other languages. However, I have only had
the (before lisp)|(after lisp) experience
with lisp.
Your enlightenment might vary.
Rich gave his "Whitehead" talk and brought
up the fact that OO languages get several
th
On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly wrote:
> I didn't mean to imply that other people
> don't have the "ah-hah!" experience with
> other languages. However, I have only had
> the (before lisp)|(after lisp) experience
> with lisp.
>
> Your enlightenment might vary.
>
> Rich gave his "Whitehe
On 12/19/2010 8:20 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly wrote:
I didn't mean to imply that other people
don't have the "ah-hah!" experience with
other languages. However, I have only had
the (before lisp)|(after lisp) experience
with lisp.
Your enlightenment migh
Tim Daly writes:
>
> Haskell has neat ideas but I've seen them before in lisp-based
> systems. I work in a language which is strongly typed, allows
> currying, is functional, etc., implemented in Common Lisp. I have
> not found the "ah-hah!" in Haskell.
>
Sounds interesting, could you share a po
On 12/19/2010 8:33 PM, Eric Schulte wrote:
Tim Daly writes:
Haskell has neat ideas but I've seen them before in lisp-based
systems. I work in a language which is strongly typed, allows
currying, is functional, etc., implemented in Common Lisp. I have
not found the "ah-hah!" in Haskell.
Sou
On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly wrote:
>
>
> On 12/19/2010 8:20 PM, Ken Wesson wrote:
>>
>> On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly
>> wrote:
>>>
>>> I didn't mean to imply that other people
>>> don't have the "ah-hah!" experience with
>>> other languages. However, I have only had
>>
On Sun, Dec 19, 2010 at 6:24 PM, Ken Wesson wrote:
> Has everyone on this list developed a sudden allergy to plain text and
> HTML? First I get pointed to a 34-minute video, and now this. A simple
> bulleted list with a brief precis about each item would have sufficed;
> a multi-megabyte install o
On 12/19/2010 9:24 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly wrote:
On 12/19/2010 8:20 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly
wrote:
I didn't mean to imply that other people
don't have the "ah-hah!" experience with
other languages. However
On Sun, Dec 19, 2010 at 9:42 PM, Tim Daly wrote:
>
>
> On 12/19/2010 9:24 PM, Ken Wesson wrote:
>>
>> On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly
>> wrote:
>>>
>>> On 12/19/2010 8:20 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly
wrote:
>
> I didn't mean to
On 12/19/2010 10:21 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 9:42 PM, Tim Daly wrote:
On 12/19/2010 9:24 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly
wrote:
On 12/19/2010 8:20 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly
wrote:
I didn't me
On Sun, Dec 19, 2010 at 10:33 PM, Tim Daly wrote:
> On 12/19/2010 10:21 PM, Ken Wesson wrote:
>>
>> On Sun, Dec 19, 2010 at 9:42 PM, Tim Daly
>> wrote:
>>>
>>> On 12/19/2010 9:24 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly
wrote:
>
> On 12/19/2010 8:20
On Sun, 19 Dec 2010 21:24:42 -0500
Ken Wesson wrote:
> On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly wrote:
> >
> >
> > On 12/19/2010 8:20 PM, Ken Wesson wrote:
> >>
> >> On Sun, Dec 19, 2010 at 8:18 PM, Tim Daly
> >> wrote:
> >>>
> >>> I didn't mean to imply that other people
> >>> don't have the
On 12/19/2010 10:53 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 10:33 PM, Tim Daly wrote:
On 12/19/2010 10:21 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 9:42 PM, Tim Daly
wrote:
On 12/19/2010 9:24 PM, Ken Wesson wrote:
On Sun, Dec 19, 2010 at 8:25 PM, Tim Daly
wrote:
On 12/19/201
2010/12/20 Tim Daly
>
>
> On 12/19/2010 10:53 PM, Ken Wesson wrote:
>
>> On Sun, Dec 19, 2010 at 10:33 PM, Tim Daly
>> wrote:
>>
>>> On 12/19/2010 10:21 PM, Ken Wesson wrote:
>>>
On Sun, Dec 19, 2010 at 9:42 PM, Tim Daly
wrote:
> On 12/19/2010 9:24 PM, Ken Wesson wrote:
>
Is there a natively compiled version of Clojure? Is there any plans to
do so?
Thanks
--
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
Ken Wesson writes:
> Ah. So, like the confused situations you get with Java's mutable
> collections. Two lists are equal if they have the same contents in the
> same order -- but then you use one as a key in a hashmap, and then add
> an item to it, and boom! Clojure separates this stuff out becau
42 matches
Mail list logo