Re: toy list processing problem: collect similar terms

2010-09-26 Thread Bakul Shah
On 9/25/10 9:05 PM, Xah Lee wrote: here's a interesting toy list processing problem. I have a list of lists, where each sublist is labelled by a number. I need to collect together the contents of all sublists sharing the same label. So if I have the list ((0 a b) (1 c d) (2 e f) (3 g h) (1 i j)

Re: Mathematica 7 compares to other languages

2008-12-12 Thread Bakul Shah
George Neuner wrote: On Thu, 11 Dec 2008 10:41:59 -0800 (PST), Xah Lee wrote: On Dec 10, 2:47 pm, John W Kennedy wrote: Xah Lee wrote: In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java, you'll have 50 or hundreds lines. C: #include #include void normal(int dim, float

Re: Mathematica 7 compares to other languages

2008-12-10 Thread Bakul Shah
Bakul Shah wrote: John W Kennedy wrote: Xah Lee wrote: In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java, you'll have 50 or hundreds lines. C: #include #include void normal(int dim, float* x, float* a) { float sum = 0.0f; int i; float divisor; for

Re: Mathematica 7 compares to other languages

2008-12-10 Thread Bakul Shah
John W Kennedy wrote: Xah Lee wrote: In lisp, python, perl, etc, you'll have 10 or so lines. In C or Java, you'll have 50 or hundreds lines. C: #include #include void normal(int dim, float* x, float* a) { float sum = 0.0f; int i; float divisor; for (i = 0; i < dim; ++i) sum +=

Re: The fundamental concept of continuations

2007-10-09 Thread Bakul Shah
[EMAIL PROTECTED] wrote: > On Oct 8, 11:07 pm, Bakul Shah <[EMAIL PROTECTED]> wrote: ... >> You might like this one: >> >> http://www.intertwingly.net/blog/2005/04/13/Continuations-for-Curmudg... > > thanks for the link but can you plz upload the paper s

Re: The fundamental concept of continuations

2007-10-08 Thread Bakul Shah
[EMAIL PROTECTED] wrote: > Again I am depressed to encounter a fundamentally new concept that I > was all along unheard of. The concept is 37 years old. Wadsworth in his "Continuation Revisited" paper says he & Strachey were struggling with extending the technique of denotational semantics to d