On Jul 1, 6:53 am, John Cowan <[email protected]> wrote:
> On Tue, Jun 30, 2009 at 7:28 AM, Patrick Wright<[email protected]> wrote:
> > See also PDFs linked at bottom of WP entry, in particular "CAL for
> > Haskell Programmers".
>
> What this boils down to, AFAICT, is that 100% CAL code is pure, but
> CAL that calls Java stuff is not.

Java functions can be pure, but of course there are no guarantees as
there are with CAL code.

I often wrap a monad around Java libraries which rely on side effects
to ensure that calls are correctly sequenced.

Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to