summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib/Data.List/take001.hs
blob: a7a531480af5c093125a555757117da092d3d346 (plain)
1
2
3
4
5
-- Test for bug #1219, F/B rule for take was too strict
import System.Environment
main = do 
 (n:_) <- getArgs
 print (map (const 'x') (take (read n) (undefined:undefined)))