import Text.Regex {- The above import is needed only for the last function. It is used there purely for readability and conciseness -} {- Assigning a string to a 'variable'. We're being explicit about it just for show. Haskell would be able to figure out the type of "world" -} string = "world" :: String