Skip to content

Commit 1761ca2

Browse files
committed
Fix charString export
1 parent 76ddec3 commit 1761ca2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ newtype Char
1313

1414
A unicode character.
1515

16-
#### `charString`
16+
#### `toString`
1717

1818
``` purescript
19-
charString :: Char -> String
19+
toString :: Char -> String
2020
```
2121

2222
Returns the string of length `1` containing only the given character.
@@ -59,6 +59,7 @@ Characters can be compared with `compare`, `>`, `>=`, `<` and `<=`.
5959
instance boundedChar :: Bounded Char
6060
```
6161

62+
Characters fall within the Unicode range.
6263

6364
#### `showChar`
6465

src/Data/Char/Char.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- | A type and functions for single characters.
22
module Data.Char
33
( Char()
4-
, charString
4+
, toString
55
, fromCharCode
66
, toCharCode
77
) where

0 commit comments

Comments
 (0)