We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0903ec7 commit 6bbabd8Copy full SHA for 6bbabd8
src/Data/Char.purs
@@ -4,6 +4,9 @@ module Data.Char
4
, fromCharCode
5
) where
6
7
+import Data.Enum (fromEnum, toEnum)
8
+import Data.Maybe (Maybe)
9
+
10
-- | Returns the numeric Unicode value of the character.
11
toCharCode :: Char -> Int
12
toCharCode = fromEnum
0 commit comments