Hi,
I want to build a framework to apply different functions to different types
of lists and I want to generalize the solution as much as possible but my
Haskell knowledge is not really enough to do this (I'm a haskell novice).
The problem has two dimensions:
1. Lets say I have two functions:
2009/7/16 Szekeres István szeke...@iii.hu:
class ListUpdater a where
updateFn :: Char - Char
update :: a - a
so I can define the update function for the different types of lists:
instance ListUpdater String where
update = map updateFn
instance ListUpdater L.ByteString where