box-o-sand/lyahfgg/ch01/hilarity.hs

3 lines
104 B
Haskell
Raw Normal View History

2014-09-21 10:51:36 +00:00
adjNounHilarity adjectives nouns =
[adjective ++ " " ++ noun | adjective <- adjectives, noun <- nouns]