The program looks like this:
--***********************
factorial :: Int->Int
factorial n = product [1..n]
main = do
print $ factorial 50
--***********************
And that yields "0" (no errors). Is it a bug or feature? :)
______________________________
Акция! Скидка до - 50% на колготы зимних коллекций в Линии магазинов EVA!
http://go.meta.ua/eva_colgotes