Sun, 14 Oct 2001 23:25:40 -0400, Ken Shan <[EMAIL PROTECTED]> pisze:
> In Haskell's standard IO module, bracket_ is defined to have type
>
> IO a -> (a -> IO b) -> IO c -> IO c
>
> However, in the Exception module in hslibs, bracket_ has type
>
> IO a -> IO b -> IO c -> IO c
>
> which IMHO is much less useful, not to mention confusing.
Why less useful? There is already bracket which provides the value
produced by initialization. IMHO Exception.bracket_ is more useful
when there is really no initialization, only closing.
--
__("< Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZAST�PCZA
QRCZAK
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell