On Jul 7, 4:08 am, Roman Roelofsen
wrote:
> * Parametrization of "function groups" *
>
> Lets say I have a bunch of functions that provide database operations
> (read, write, delete, ...). They all share information about the
> database the operate on. In an OO language, I would define these
> me
On Jul 7, 7:08 am, Roman Roelofsen
wrote:
> Hi all!
>
> I've been playing around with Clojure in the last couple of days. Very
> interesting! However, I have never used a non-OO, lispy, pure
> functional language before and several questions popped up while
> snip
Clojure is /not/ a pure funct
Thanks a lot to everbody for the great responses! They certainly helped
a lot!
Cheers,
Roman
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
Shawn Hoover wrote:
> For example, Java doesn't have language support like C#'s using statement
> for executing some block of code and deterministically cleaning up an object
> at the end. You could implement that as a function (in many languages) and
> call it like this:
> (defn do-and-close [o
On Tue, Jul 7, 2009 at 11:47 AM, Chouser wrote:
>
> On Tue, Jul 7, 2009 at 8:08 AM, Roman
> Roelofsen wrote:
> > * Real-world macros *
> >
> > Correct me if I am wrong, but it seems that people often use macros
> > for lazy evaluation of parameters. In Scala, it is quite easy to
> > accomplish th
Hi,
2009/7/7 Chouser :
>
> On Tue, Jul 7, 2009 at 8:08 AM, Roman
> Roelofsen wrote:
>>
>> (0 until 100) map (_ * 2) filter (_ % 3 == 0)
>>
>> I can easily read this line from left to right (just like english) and
>> instantly see whats going on. By contrast, I have to read the clojure
>> version
On Tue, Jul 7, 2009 at 8:08 AM, Roman
Roelofsen wrote:
>
> (0 until 100) map (_ * 2) filter (_ % 3 == 0)
>
> I can easily read this line from left to right (just like english) and
> instantly see whats going on. By contrast, I have to read the clojure
> version a couple of times to understand it:
Let me take a stab at you parametrization question
> * Parametrization of "function groups" *
>
> Lets say I have a bunch of functions that provide database operations
> (read, write, delete, ...). They all share information about the
> database the operate on. In an OO language, I would define t
On Tue, Jul 7, 2009 at 6:08 AM, Roman Roelofsen <
roman.roelof...@googlemail.com> wrote:
>
> Hi all!
Hello! Welcome to the group.
* Syntax *
>
> I never used a LISP-like language before and I can't read the clojure
> code as fluent as code from different languages. Take for example this
> sca
Hi all!
I've been playing around with Clojure in the last couple of days. Very
interesting! However, I have never used a non-OO, lispy, pure
functional language before and several questions popped up while
digging deeper into the Clojure world. I hope you don't mind if I post
them together in one
10 matches
Mail list logo