pascalabcnet/TestSamples/Haskell_Samples/Colon.hs
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

12 lines
292 B
Haskell

module Main where
myprint a:b:c:d = do {
(print a);
(print b);
(print c);
(print d);
}
main = do {
(myprint [4,5,8,7]);
}