[Haskell-cafe] Re: [Haskell] Top Level <-

John Meacham john at repetae.net
Mon Sep 1 18:07:53 EDT 2008


On Fri, Aug 29, 2008 at 04:33:50PM -0700, Dan Weston wrote:
> C++ faced this very issue by saying that with global data, uniqueness of  
> initialization is guaranteed but order of evaluation is not. Assuming  
> that the global data are merely thunk wrappers over some common data  
> source, this means that at minimum, there can be no data dependencies  
> between plugins where the order of evaluation matters.

Fortunately, we can do a whole lot better with haskell, the type system
guarentees that order of evaluation is irrelevant :) no need to specify
anything about implementations.

        John

-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Haskell-Cafe mailing list