zips and maps

2001-03-08 Thread Timothy Docker
Eric Allen Wohlstadter writes: > I find myself very often needing to use this function and was wondering if > there was already a way to do this using zip,maps, and folds. > > zipMap::[a->b]->[a]->[b] > zipMap [] _ = [] > zipMap _ [] = [] > zipMap (f:fs) (x:xs) = (f x):(zipMap fs xs) >

Haskell Implemetors Meeting

2001-02-05 Thread Timothy Docker
> We agreed that it would be a Jolly Good Thing if GHC could > be persuaded to produce GHC-independent Core output, > ready to feed into some other compiler. For example, > Karl-Filip might be able to use it. > ANDREW will write a specification, and

frantk / overlapping instances

2000-08-31 Thread Timothy Docker
When I asked about overlapping types, Tom Pledger wrote: > It means that when the system sees a class method of Bindable (I'm > guessing there's one called bind) applied to a value of type Canvas > (which must be a synonym for PWidget something, in order for there to > be an overlap), it can