blob: 7229bd6305bba087fcd26e81d6ee15a4da3bb5cb (
plain)
1
2
3
4
5
6
7
8
|
-- Test for https://gitlab.haskell.org/ghc/ghc/issues/2533
import System.Environment
import qualified Data.List as L
main = do
(n:_) <- getArgs
print (L.genericTake (read n) "none taken")
print (L.genericDrop (read n) "none dropped")
print (L.genericSplitAt (read n) "none split")
|