Alle 12:42, luned=EC 20 ottobre 2003, Krasimir Angelov ha scritto:
> =A0 =A0 I don't like to change the monad from IO to
> something else. The ObjectIO library is implemented
> with two monad types: GUI and Draw. Each time when I
> want to run some IO action I need to lift the action
> with 'liftIO'. I think that the absence of specific
> monads in HToolkit is an advantage.
Oh, yes, that's a design decision wich one can agree or disagree, and I=20
find it more comfortable, too. What I was talking about is of less=20
interest in the project, but is about attributes in general (since=20
someone mentioned somewhere the possibility to include the attribute=20
library in the hslibs, and I think that would be a good thing): the=20
ability for the user of the Attr library to change the IO monad to=20
something else - it would not affect htoolkit since it has ffi calls=20
and so it would choose the IO monad.
> =A0 =A0 The ability to watch the state change (i.e. the
> change of some attribute value) is another thing. This
> can make the library design more clear but I have
> never thought about it.
>
> Bye,
> Krasimir
>
> =A0 =A0 P.S. As you can see the definition of Process type
> in CVS is changed as in your proposal.
Thanks ;) I still have to take your gnome2.4 route, though, but I think=20
this will happen really soon.
V.
|