RosettaCodeData/Task/Binary-strings/Haskell/binary-strings-4.hs

9 lines
249 B
Haskell
Raw Permalink Normal View History

2013-04-10 12:38:42 -07:00
{- This is the most obvious way to
append strings, using the built-in
(++) concatenation operator
Note the same would work to join
any two strings (as 'variables' or
as typed strings -}
strAppend :: String -> String -> String
strAppend x y = x ++ y