blob: 7fb8192557a65c963f04c4e52f9417b1089aabc7 (
plain)
1
2
3
4
5
6
7
8
|
-- Test for http://ghc.haskell.org/trac/ghc/ticket/2533
import System.Environment
import Data.List
main = do
(n:_) <- getArgs
print (genericTake (read n) "none taken")
print (genericDrop (read n) "none dropped")
print (genericSplitAt (read n) "none split")
|