purescript/purescript-strings

Remove some of the following: fromChar, singleton, toString

sharkdp opened this issue · 1 comments

The following three functions are identical

String.fromChar :: Char -> String
String.singleton :: Char -> String
Char.toString :: Char -> String

Do we want to keep all three of them?

No, I don't think so. Let's pick one and go with that. I like singleton, personally.