RE: Andy Gill's html library

2002-06-26 Thread Keean
Gill's Html library Thomas L. Bevan [EMAIL PROTECTED] writes: Can someone explain the reasoning behind using a function to describe a Table rather than just a list of lists? Just my feeling, but perhaps it is essentially the same reason why ShowS is String - String rather than String, so

Andy Gill's Html library

2002-06-24 Thread Thomas L. Bevan
Hi, I've been working through the source code of Andy Gill's Html library for my own edification. Andrew makes the following definitions. \begin{code} instance (Show a) = Show (BlockTable a) where showsPrec p = showsTable type TableI a = [[(a,(Int,Int))]] - [[(a,(Int,Int))]] data