packages feed

fay-0.24.2.0: tests/patternMatchLet.hs

module PatternMatchLet where

first3 :: String -> Fay ()
first3 cs = do
  let (a:b:c:_) = cs
  putStrLn [a, b, c]

main :: Fay ()
main = first3 "abcd"