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

11 lines
190 B
Haskell

module Main where
head [] = "Prelude.head: ïóñòîé ñïèñîê"
head (x:xs) = x
f = (head [[[1],[2,3]],[2],[3]])
g = ("321",2,('3',[5]))
main = do (print f)
(print g)