Thread View: comp.lang.functional
1 messages
1 total messages
Started by Sam Waugh
Tue, 10 Nov 1992 04:49
Help required with PreludeText (Haskell)
Author: Sam Waugh
Date: Tue, 10 Nov 1992 04:49
Date: Tue, 10 Nov 1992 04:49
16 lines
969 bytes
969 bytes
Sorry to be posting a simple question to the net, but I can't find the answer anywhere. The function readsPrec is defined within the Text class. - What does the "Prec" bit stand for; and - why does readsPrec require an Int value (I can't see why this is used). [the type being readsPrec :: Int -> ReadS a] I've been looking for answers in the Haskell Report (v1.1) and every place that readsPrec is used the Int value is thrown away. Why not use reads within the class? Thanks very much for any help. Sam Waugh email: waugh@cs.utas.edu.au
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads