[m-dev.] for discussion: stream library v2

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Sep 27 04:51:39 AEDT 2000


On 26-Sep-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> On Mon, Sep 25, 2000 at 02:22:55PM +1100, Michael Day wrote:
> > 
> > >     * you have a non-unique handle on a stream which means that you can
> > >       still process that stream after an exception.
> > 
> > Is it really not possible to achieve this by some extension of try_io:
> > 
> > :- pred try_io(pred(T, S, S), exception_result(T), S, S) <= stream(S).
>
> I am not sure.  Maybe Fergus can answer.

I don't see any problem with Michael's suggestion.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list