
21 Oct
2004
21 Oct
'04
12:27 p.m.
K P SCHUPKE writes:
Okay, maybe I misunderstood, I thought by stream processors you meant functions of the type:
process :: [a] -> [a]
No, my stream processors currently have the API I described in my initial posting. What I was wondering is whether there is a more general API that I could use to unify all kinds of stream processors into a class of data types which my IO driver can use without having to know what it is. The StreamProc data type I defined does that, but I suspect that there is something more fundamental definition than what I've come up with. Peter