[Haskell-cafe] Re: Global Variables and IO initializers
iakd0 at clusterf.urz.uni-halle.de
Tue Nov 9 09:54:01 EST 2004
On Tue, 9 Nov 2004, Ferenc Wagner wrote:
> Henning Thielemann <iakd0 at clusterf.urz.uni-halle.de> writes:
> > On Mon, 8 Nov 2004, Keean Schupke wrote:
> >> If you tell me the library you wish to use I may be able
> >> to suggest a better alternative.
> > I'm using FFTW and PLPlot (but not with Haskell), both
> > uses internal states and thus must be considered as ill
> > designed. Do you know of better alternatives?
> I'm no expert on this, being exposed to FFTW for a couple of
> hours, but isn't its internal state encapsulated into the
> 'plan', which is suitable as a handle?
Additional to plans it stores some "wisdom" which is handled globally.
More information about the Haskell-Cafe