[mercury-users] network programming

Thomas Charles CONWAY conway at cs.mu.OZ.AU
Tue Mar 10 15:19:54 AEDT 1998


Peter Schachte, you write:
> 
> Now that Mercury supports type classes, how about having input_stream
> and output_stream type classes, and have bidirectional_stream be
> instances of both?  This also has the very pleasant advantage of
> allowing users to invent their own kinds of streams.  And the other
> pleasant advantage of having the Mercury library actually *use* type
> classes.
> 

Using typeclasses is certainly something worth doing once we have a
debugger that will work on them. :-)

Thomas
-- 
ZZ:wq!
^X^C
Thomas Conway               				      conway at cs.mu.oz.au
AD DEUM ET VINUM	  			   Nail here [] for new monitor.



More information about the users mailing list