MorseCode-0.0.2: Morse code

Text.Morse

Synopsis

Documentation

toMorseCode :: String -> StringSource

Convert String to Morse Code. And ignore invliad Morse character.

fromMorseCode :: String -> StringSource

Get string from Morse Code. Throw error if find invalid Morse Code.

isMorseChar :: Char -> BoolSource

Whether character is valid Morse Character.