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

9 lines
143 B
Haskell

module Main where
func (a:b:c) 5 = a
func (l:w:q) t = q
main = do {
(print 5);
(print(func [4,5,8,7] 7));
}