Quite simply, I want to convert a character to an integer using the ord function, however it does not load automatically in foreplay because it says:
*Main> ord 'a' <interactive>:55:1: Not in scope: 'ord' Perhaps you meant one of these: 'odd' (imported from Prelude), 'or' (imported from Prelude)
How, for my sake, can I use it?
source share