Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
61120c8b
Commit
61120c8b
authored
Nov 23, 2001
by
simonpj
Browse files
[project @ 2001-11-23 16:20:08 by simonpj]
Put spaces round %, in preparation for splittable name supplies
parent
f8bf5817
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelRead.lhs
View file @
61120c8b
% ------------------------------------------------------------------------------
% $Id: PrelRead.lhs,v 1.2
1
2001/
08/28 09:55:35
simon
mar
Exp $
% $Id: PrelRead.lhs,v 1.2
2
2001/
11/23 16:20:08
simon
pj
Exp $
%
% (c) The University of Glasgow, 1994-2000
%
...
...
@@ -371,7 +371,7 @@ instance (Integral a, Read a) => Read (Ratio a) where
(x,s) <- reads r
("%",t) <- lex s
(y,u) <- reads t
return (x
%
y,u))
return (x
%
y,u))
instance (Read a) => Read [a] where
readsPrec _ = readList
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment