[Haskell] Real life examples
Lennart Augustsson
lennart at augustsson.net
Sun Nov 28 13:44:39 EST 2004
But surely any device driver is parametrized on the
exact IO addresses? How would you be able to handle
multiple devices otherwise?
Adrian Hey wrote:
> On Friday 26 Nov 2004 11:39 am, Keean Schupke wrote:
>
>>Adrian Hey wrote:
>>
>>>Well it can be written in Haskell, but not using a module that was
>>>specifically designed to prevent this.
>>
>>Well, It can be written in Haskell as it stands at the moment...
>
>
> No it can't. If I have a device driver that's accessing real hardware
> (peeking and poking specific memory locations say), how are you going
> to emulate that? You need to make peek and poke parameters of the
> module.
>
> That is certainly possible, but if the author of the driver module
> didn't anticipate your emulation needs, you'd be stuck I think.
>
> Regards
> --
> Adrian Hey
>
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>
More information about the Haskell
mailing list