1
1
Fork 0

PARSER: improve haddock comments

Dieser Commit ist enthalten in:
hasufell 2014-10-09 17:00:03 +02:00
Ursprung 9c724ec479
Commit d0e8c85a8d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 220CD1C5BDEED020
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -67,7 +67,8 @@ posInt = MkParser f
| otherwise = Just (read ns, rest)
where (ns, rest) = span isDigit xs
-- |Creates a Parser that accepts positive integers.
-- |Creates a Parser that accepts positive doubles.
-- Both 131.31 and 132 are valid.
posDouble :: Parser Double
posDouble = (read <$>) $
(\x y z -> x ++ [y] ++ z) <$>