avoid some read
This commit is contained in:
parent
28699c95a7
commit
4b3c4c0c2b
3 changed files with 9 additions and 4 deletions
|
@ -22,3 +22,7 @@ init = Prelude.init
|
|||
{- last too -}
|
||||
last :: [a] -> a
|
||||
last = Prelude.last
|
||||
|
||||
{- read should be avoided, as it throws an error -}
|
||||
read :: Read a => String -> a
|
||||
read = Prelude.read
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue