I came across this
When I tried to run it using GHCi it gave me an error. In the book it states that it is a library function.
I am getting an error. Has ord
been deprecated ?
I came across this
When I tried to run it using GHCi it gave me an error. In the book it states that it is a library function.
I am getting an error. Has ord
been deprecated ?
I see.
I was still stuck on how to use it though. I stacked overflowed my way to the answer.
I had to import it .
import Data.Char
Yes indeed, it lives in its own module hierarchy and isn’t re-exported by the Prelude