extra-1.8.1
checks.aarch64-linux.docker-image-test
· build #909
· raw
setupCompilerEnvironmentPhase
1Build with /nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3.unpackPhase
2unpacking source archive /nix/store/3nprda3kdyhj8zkmv2z32yi6n0gwc966-extra-1.8.1.tar.gz3source root is extra-1.8.14setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "extra-1.8.1/test/TestUtil.hs"compileBuildDriverPhase
5setupCompileFlags: -package-db=/build/tmp.aSNSUgb7rR/setup-package.conf.d -threaded6[1 of 2] Compiling Main ( Setup.hs, /build/tmp.aSNSUgb7rR/Main.o )7[2 of 2] Linking SetupconfigurePhase
8configureFlags: --verbose --prefix=/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc/share/doc/extra-1.8.1 --with-gcc=gcc --package-db=/build/tmp.aSNSUgb7rR/package.conf.d --ghc-option=-j4 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --enable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/nmgkl5md2346myfn25sr08mywl1hbh84-ncurses-6.6/lib --extra-lib-dirs=/nix/store/iw22fkslpax5sd2pmrqqqj6kvx9hsxy2-libffi-3.8.0/lib --extra-lib-dirs=/nix/store/7sn2gdv1ichb62134k1vc8ghsdiqsz62-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/2r9sd3srzkg334nyic95qmly0mjw37ch-numactl-2.0.18/lib9Using Parsec parser10Configuring extra-1.8.1...11Dependency base >=4.9 && <5: using base-4.20.2.012Dependency clock >=0.7: using clock-0.8.413Dependency directory: using directory-1.3.8.514Dependency filepath: using filepath-1.5.4.015Dependency process: using process-1.6.26.116Dependency time: using time-1.12.217Dependency unix: using unix-2.8.7.018Dependency QuickCheck >=2.10: using QuickCheck-2.15.0.119Dependency base >=4 && <5: using base-4.20.2.020Dependency directory: using directory-1.3.8.521Dependency extra: using extra-1.8.122Dependency filepath: using filepath-1.5.4.023Dependency quickcheck-instances >=0.3.17: using quickcheck-instances-0.3.3324Dependency unix: using unix-2.8.7.025Source component graph:26 component lib27 component test:extra-test dependency lib28Configured component graph:29 component extra-1.8.1-jjuG7v1cG6AVcrvHU58OC30 include base-4.20.2.0-a5ec31 include clock-0.8.4-IqZBPf1dREMJFju5mzAcs932 include directory-1.3.8.5-0d3b33 include filepath-1.5.4.0-6c8c34 include process-1.6.26.1-b56035 include time-1.12.2-742536 include unix-2.8.7.0-8d2237 component extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test38 include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d39 include base-4.20.2.0-a5ec40 include directory-1.3.8.5-0d3b41 include extra-1.8.1-jjuG7v1cG6AVcrvHU58OC42 include filepath-1.5.4.0-6c8c43 include quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp44 include unix-2.8.7.0-8d2245Linked component graph:46 unit extra-1.8.1-jjuG7v1cG6AVcrvHU58OC47 include base-4.20.2.0-a5ec48 include clock-0.8.4-IqZBPf1dREMJFju5mzAcs949 include directory-1.3.8.5-0d3b50 include filepath-1.5.4.0-6c8c51 include process-1.6.26.1-b56052 include time-1.12.2-742553 include unix-2.8.7.0-8d2254 Control.Concurrent.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Concurrent.Extra,Control.Exception.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Exception.Extra,Control.Monad.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Control.Monad.Extra,Data.Either.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Either.Extra,Data.Foldable.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Foldable.Extra,Data.IORef.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.IORef.Extra,Data.List.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.List.Extra,Data.List.NonEmpty.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.List.NonEmpty.Extra,Data.Monoid.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Monoid.Extra,Data.Tuple.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Tuple.Extra,Data.Typeable.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Typeable.Extra,Data.Version.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Data.Version.Extra,Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Extra,Numeric.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Numeric.Extra,System.Directory.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Directory.Extra,System.Environment.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Environment.Extra,System.IO.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.IO.Extra,System.Info.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Info.Extra,System.Process.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Process.Extra,System.Time.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:System.Time.Extra,Text.Read.Extra=extra-1.8.1-jjuG7v1cG6AVcrvHU58OC:Text.Read.Extra55 unit extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test56 include QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d57 include base-4.20.2.0-a5ec58 include directory-1.3.8.5-0d3b59 include extra-1.8.1-jjuG7v1cG6AVcrvHU58OC60 include filepath-1.5.4.0-6c8c61 include quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp62 include unix-2.8.7.0-8d2263Ready component graph:64 definite extra-1.8.1-jjuG7v1cG6AVcrvHU58OC65 depends base-4.20.2.0-a5ec66 depends clock-0.8.4-IqZBPf1dREMJFju5mzAcs967 depends directory-1.3.8.5-0d3b68 depends filepath-1.5.4.0-6c8c69 depends process-1.6.26.1-b56070 depends time-1.12.2-742571 depends unix-2.8.7.0-8d2272 definite extra-1.8.1-GCBC10qpNdoJU2UWT9VMnY-extra-test73 depends QuickCheck-2.15.0.1-DoCBkNsF8SpAVmhTpFuY6d74 depends base-4.20.2.0-a5ec75 depends directory-1.3.8.5-0d3b76 depends extra-1.8.1-jjuG7v1cG6AVcrvHU58OC77 depends filepath-1.5.4.0-6c8c78 depends quickcheck-instances-0.3.33-LMkU3c304A1JHH5TLt9xMp79 depends unix-2.8.7.0-8d2280Using Cabal-3.12.1.0 compiled by ghc-9.1081Using compiler: ghc-9.10.382Using install prefix: /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.183Executables installed in:84/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/bin85Libraries installed in:86/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1-jjuG7v1cG6AVcrvHU58OC87Dynamic Libraries installed in:88/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb5589Private executables installed in:90/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/libexec/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.191Data files installed in:92/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/share/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.193Documentation installed in:94/nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc/share/doc/extra-1.8.195Configuration files installed in:96/nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/etc97No alex found98Using ar found on system at:99/nix/store/m1armxrx1nk768pislz3kzicq2mr4wck-binutils-wrapper-2.46/bin/ar100No c2hs found101No cpphs found102No doctest found103Using gcc version 15.3.0 given by user at:104/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/gcc105Using ghc version 9.10.3 found on system at:106/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc107Using ghc-pkg version 9.10.3 found on system at:108/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/ghc-pkg-9.10.3109No ghcjs found110No ghcjs-pkg found111No greencard found112Using haddock version 2.31.1 found on system at:113/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/haddock-ghc-9.10.3114No happy found115Using haskell-suite found on system at: haskell-suite-dummy-location116Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location117No hmake found118Using hpc version 0.69 found on system at:119/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hpc-ghc-9.10.3120Using hsc2hs version 0.68.10 found on system at:121/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/hsc2hs-ghc-9.10.3122Using hscolour version 1.25 found on system at:123/nix/store/pzf13a3faar5znsn51jxl01l1qw7qjw1-hscolour-1.25/bin/HsColour124No jhc found125Using ld found on system at:126/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/ld127No pkg-config found128Using runghc version 9.10.3 found on system at:129/nix/store/6g9s6kw11maycdc6g5a66smakh2lwdga-ghc-9.10.3/bin/runghc-9.10.3130Using strip version 2.46 found on system at:131/nix/store/1m3h2yhx00myw3yblflznibhdb2r6ipx-gcc-wrapper-15.3.0/bin/strip132Using tar found on system at:133/nix/store/2yldvksvc01sv7agz7vrczymm1ffcirx-gnutar-1.35/bin/tar134No uhc foundbuildPhase
135Preprocessing library for extra-1.8.1...136Building library for extra-1.8.1...137[ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, dist/build/Data/IORef/Extra.o, dist/build/Data/IORef/Extra.dyn_o )138[ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, dist/build/Data/Monoid/Extra.o, dist/build/Data/Monoid/Extra.dyn_o )139[ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, dist/build/Data/Tuple/Extra.o, dist/build/Data/Tuple/Extra.dyn_o )140[ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, dist/build/Data/Typeable/Extra.o, dist/build/Data/Typeable/Extra.dyn_o )141[ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, dist/build/Numeric/Extra.o, dist/build/Numeric/Extra.dyn_o )142[ 6 of 22] Compiling Partial ( src/Partial.hs, dist/build/Partial.o, dist/build/Partial.dyn_o )143[ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, dist/build/Data/List/Extra.o, dist/build/Data/List/Extra.dyn_o )144[ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, dist/build/Data/Version/Extra.o, dist/build/Data/Version/Extra.dyn_o )145[ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, dist/build/Data/List/NonEmpty/Extra.o, dist/build/Data/List/NonEmpty/Extra.dyn_o )146[10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, dist/build/Data/Either/Extra.o, dist/build/Data/Either/Extra.dyn_o )147[11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, dist/build/Control/Exception/Extra.o, dist/build/Control/Exception/Extra.dyn_o )148[12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, dist/build/Control/Monad/Extra.o, dist/build/Control/Monad/Extra.dyn_o )149[13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, dist/build/Data/Foldable/Extra.o, dist/build/Data/Foldable/Extra.dyn_o )150[14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, dist/build/Control/Concurrent/Extra.o, dist/build/Control/Concurrent/Extra.dyn_o )151[15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, dist/build/System/Directory/Extra.o, dist/build/System/Directory/Extra.dyn_o )152[16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, dist/build/System/Environment/Extra.o, dist/build/System/Environment/Extra.dyn_o )153[17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, dist/build/System/IO/Extra.o, dist/build/System/IO/Extra.dyn_o )154[18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, dist/build/System/Info/Extra.o, dist/build/System/Info/Extra.dyn_o )155[19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, dist/build/System/Process/Extra.o, dist/build/System/Process/Extra.dyn_o )156[20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, dist/build/System/Time/Extra.o, dist/build/System/Time/Extra.dyn_o )157[21 of 22] Compiling Extra ( src/Extra.hs, dist/build/Extra.o, dist/build/Extra.dyn_o )158[22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, dist/build/Text/Read/Extra.o, dist/build/Text/Read/Extra.dyn_o )159[ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, dist/build/Data/IORef/Extra.p_o )160[ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, dist/build/Data/Monoid/Extra.p_o )161[ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, dist/build/Data/Tuple/Extra.p_o )162[ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, dist/build/Data/Typeable/Extra.p_o )163[ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, dist/build/Numeric/Extra.p_o )164[ 6 of 22] Compiling Partial ( src/Partial.hs, dist/build/Partial.p_o )165[ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, dist/build/Data/List/Extra.p_o )166[ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, dist/build/Data/Version/Extra.p_o )167[ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, dist/build/Data/List/NonEmpty/Extra.p_o )168[10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, dist/build/Data/Either/Extra.p_o )169[11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, dist/build/Control/Exception/Extra.p_o )170[12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, dist/build/Control/Monad/Extra.p_o )171[13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, dist/build/Data/Foldable/Extra.p_o )172[14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, dist/build/Control/Concurrent/Extra.p_o )173[15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, dist/build/System/Directory/Extra.p_o )174[16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, dist/build/System/Environment/Extra.p_o )175[17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, dist/build/System/IO/Extra.p_o )176[18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, dist/build/System/Info/Extra.p_o )177[19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, dist/build/System/Process/Extra.p_o )178[20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, dist/build/System/Time/Extra.p_o )179[21 of 22] Compiling Extra ( src/Extra.hs, dist/build/Extra.p_o )180[22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, dist/build/Text/Read/Extra.p_o )181Preprocessing test suite 'extra-test' for extra-1.8.1...182Building test suite 'extra-test' for extra-1.8.1...183[1 of 4] Compiling TestUtil ( test/TestUtil.hs, dist/build/extra-test/extra-test-tmp/TestUtil.o )184[2 of 4] Compiling TestGen ( test/TestGen.hs, dist/build/extra-test/extra-test-tmp/TestGen.o )185[3 of 4] Compiling TestCustom ( test/TestCustom.hs, dist/build/extra-test/extra-test-tmp/TestCustom.o )186[4 of 4] Compiling Test ( test/Test.hs, dist/build/extra-test/extra-test-tmp/Test.o )187[5 of 5] Linking dist/build/extra-test/extra-testcheckPhase
188Running 1 test suites...189Test suite extra-test: RUNNING...190withTempFile191+++ OK, passed 100 tests.192captureOutput193+++ OK, passed 100 tests.194\(x :: IO Int) -> void (once x) == pure ()195+++ OK, passed 100 tests.196\(x :: IO Int) -> join (once x) == x197+++ OK, passed 100 tests.198\(x :: IO Int) -> (do y <- once x; y; y) == x199+++ OK, passed 100 tests.200\(x :: IO Int) -> (do y <- once x; y ||| y) == x201+++ OK, passed 100 tests.202\(x :: IO Int) -> join (onceFork x) == x203+++ OK, passed 100 tests.204\(x :: IO Int) -> (do a <- onceFork x; a; a) == x205+++ OK, passed 100 tests.206stringException "test" == pure "test"207+++ OK, passed 100 tests.208stringException ("test" ++ undefined) == pure "test<Exception>"209+++ OK, passed 100 tests.210stringException ("test" ++ undefined ++ "hello") == pure "test<Exception>"211+++ OK, passed 100 tests.212stringException ['t','e','s','t',undefined] == pure "test<Exception>"213+++ OK, passed 100 tests.214ignore (print 1) == print 1215+++ OK, passed 100 tests.216ignore (fail "die") == pure ()217+++ OK, passed 100 tests.218catch (errorIO "Hello") (\(ErrorCall x) -> pure x) == pure "Hello"219+++ OK, passed 100 tests.220seq (errorIO "foo") (print 1) == print 1221+++ OK, passed 100 tests.222catch (assertIO True >> pure 1) (\(x :: AssertionFailed) -> pure 2) == pure 1223+++ OK, passed 100 tests.224seq (assertIO False) (print 1) == print 1225+++ OK, passed 100 tests.226retry 1 (print "x") == print "x"227+++ OK, passed 100 tests.228retry 3 (fail "die") == fail "die"229+++ OK, passed 100 tests.230whenJust Nothing print == pure ()231+++ OK, passed 100 tests.232whenJust (Just 1) print == print 1233+++ OK, passed 100 tests.234pureIf @Maybe True 5 == Just 5235+++ OK, passed 100 tests.236pureIf @Maybe False 5 == Nothing237+++ OK, passed 100 tests.238pureIf @[] True 5 == [5]239+++ OK, passed 100 tests.240pureIf @[] False 5 == []241+++ OK, passed 100 tests.242whenMaybe True (print 1) == fmap Just (print 1)243+++ OK, passed 100 tests.244whenMaybe False (print 1) == pure Nothing245+++ OK, passed 100 tests.246\(x :: Maybe ()) -> unit x == x247+++ OK, passed 100 tests.248guarded even 2 == [2]249+++ OK, passed 100 tests.250guarded odd 2 == Nothing251+++ OK, passed 100 tests.252guarded (not.null) "My Name" == Just "My Name"253+++ OK, passed 100 tests.254guardedA (return . even) 42 == Just [42]255+++ OK, passed 100 tests.256guardedA (return . odd) 42 == Just []257+++ OK, passed 100 tests.258guardedA (const Nothing) 42 == (Nothing :: Maybe [Int])259+++ OK, passed 100 tests.260fold1M (\x y -> Just x) [] == undefined261+++ OK, passed 100 tests.262fold1M (\x y -> Just $ x + y) [1, 2, 3] == Just 6263+++ OK, passed 100 tests.264partitionM (Just . even) [1,2,3] == Just ([2], [1,3])265+++ OK, passed 100 tests.266partitionM (const Nothing) [1,2,3] == Nothing267+++ OK, passed 100 tests.268loop (\x -> if x < 10 then Left $ x * 2 else Right $ show x) 1 == "16"269+++ OK, passed 100 tests.270Just True ||^ undefined == Just True271+++ OK, passed 100 tests.272Just False ||^ Just True == Just True273+++ OK, passed 100 tests.274Just False ||^ Just False == Just False275+++ OK, passed 100 tests.276Just False &&^ undefined == Just False277+++ OK, passed 100 tests.278Just True &&^ Just True == Just True279+++ OK, passed 100 tests.280Just True &&^ Just False == Just False281+++ OK, passed 100 tests.282anyM Just [False,True ,undefined] == Just True283+++ OK, passed 100 tests.284anyM Just [False,False,undefined] == undefined285+++ OK, passed 100 tests.286\(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs)287+++ OK, passed 100 tests.288allM Just [True,False,undefined] == Just False289+++ OK, passed 100 tests.290allM Just [True,True ,undefined] == undefined291+++ OK, passed 100 tests.292\(f :: Int -> Maybe Bool) xs -> anyM f xs == orM (map f xs)293+++ OK, passed 100 tests.294orM [Just False,Just True ,undefined] == Just True295+++ OK, passed 100 tests.296orM [Just False,Just False,undefined] == undefined297+++ OK, passed 100 tests.298\xs -> Just (or xs) == orM (map Just xs)299+++ OK, passed 100 tests.300andM [Just True,Just False,undefined] == Just False301+++ OK, passed 100 tests.302andM [Just True,Just True ,undefined] == undefined303+++ OK, passed 100 tests.304\xs -> Just (and xs) == andM (map Just xs)305+++ OK, passed 100 tests.306findM (Just . isUpper) "teST" == Just (Just 'S')307+++ OK, passed 100 tests.308findM (Just . isUpper) "test" == Just Nothing309+++ OK, passed 100 tests.310findM (Just . const True) ["x",undefined] == Just (Just "x")311+++ OK, passed 100 tests.312fromLeft 1 (Left 3) == 3313+++ OK, passed 100 tests.314fromLeft 1 (Right "foo") == 1315+++ OK, passed 100 tests.316fromRight 1 (Right 3) == 3317+++ OK, passed 100 tests.318fromRight 1 (Left "foo") == 1319+++ OK, passed 100 tests.320\x -> fromLeft' (Left x) == x321+++ OK, passed 100 tests.322\x -> fromLeft' (Right x) == undefined323+++ OK, passed 100 tests.324\x -> fromRight' (Right x) == x325+++ OK, passed 100 tests.326\x -> fromRight' (Left x) == undefined327+++ OK, passed 100 tests.328\x -> fromEither (Left x ) == x329+++ OK, passed 100 tests.330\x -> fromEither (Right x) == x331+++ OK, passed 100 tests.332\a b -> maybeToEither a (Just b) == Right b333+++ OK, passed 100 tests.334\a -> maybeToEither a Nothing == Left a335+++ OK, passed 100 tests.336\x -> eitherToMaybe (Left x) == Nothing337+++ OK, passed 100 tests.338\x -> eitherToMaybe (Right x) == Just x339+++ OK, passed 100 tests.340mapLeft show (Left 1) == Left "1"341+++ OK, passed 100 tests.342mapLeft show (Right True) == Right True343+++ OK, passed 100 tests.344mapRight show (Left 1) == Left 1345+++ OK, passed 100 tests.346mapRight show (Right True) == Right "True"347+++ OK, passed 100 tests.348\xs -> repeatedly (splitAt 3) xs == chunksOf 3 xs349+++ OK, passed 100 tests.350\xs -> repeatedly word1 (trim xs) == words xs351+++ OK, passed 100 tests.352\xs -> repeatedly line1 xs == lines xs353+++ OK, passed 100 tests.354disjoint [1,2,3] [4,5] == True355+++ OK, passed 100 tests.356disjoint [1,2,3] [4,1] == False357+++ OK, passed 100 tests.358disjointOrd [1,2,3] [4,5] == True359+++ OK, passed 100 tests.360disjointOrd [1,2,3] [4,1] == False361+++ OK, passed 100 tests.362disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,5] == True363+++ OK, passed 100 tests.364disjointOrdBy (compare `on` (`mod` 7)) [1,2,3] [4,8] == False365+++ OK, passed 100 tests.366anySame [1,1,2] == True367+++ OK, passed 100 tests.368anySame [1,2,3] == False369+++ OK, passed 100 tests.370anySame (1:2:1:undefined) == True371+++ OK, passed 100 tests.372anySame [] == False373+++ OK, passed 100 tests.374\xs -> anySame xs == (length (nub xs) < length xs)375+++ OK, passed 100 tests.376allSame [1,1,2] == False377+++ OK, passed 100 tests.378allSame [1,1,1] == True379+++ OK, passed 100 tests.380allSame [1] == True381+++ OK, passed 100 tests.382allSame [] == True383+++ OK, passed 100 tests.384allSame (1:1:2:undefined) == False385+++ OK, passed 100 tests.386\xs -> allSame xs == (length (nub xs) <= 1)387+++ OK, passed 100 tests.388headDef 1 [] == 1389+++ OK, passed 100 tests.390headDef 1 [2,3,4] == 2391+++ OK, passed 100 tests.392\x xs -> headDef x xs == fromMaybe x (listToMaybe xs)393+++ OK, passed 100 tests.394lastDef 1 [] == 1395+++ OK, passed 100 tests.396lastDef 1 [2,3,4] == 4397+++ OK, passed 100 tests.398\x xs -> lastDef x xs == last (x:xs)399+++ OK, passed 100 tests.400[2,3,4] !? 1 == Just 3401+++ OK, passed 100 tests.402[2,3,4] !? (-1) == Nothing403+++ OK, passed 100 tests.404[] !? 0 == Nothing405+++ OK, passed 100 tests.406notNull [] == False407+++ OK, passed 100 tests.408notNull [1] == True409+++ OK, passed 100 tests.410\xs -> notNull xs == not (null xs)411+++ OK, passed 100 tests.412list 1 (\v _ -> v - 2) [5,6,7] == 3413+++ OK, passed 100 tests.414list 1 (\v _ -> v - 2) [] == 1415+++ OK, passed 100 tests.416\nil cons xs -> maybe nil (uncurry cons) (uncons xs) == list nil cons xs417+++ OK, passed 100 tests.418unsnoc "test" == Just ("tes",'t')419+++ OK, passed 100 tests.420unsnoc "" == Nothing421+++ OK, passed 100 tests.422\xs -> unsnoc xs == if null xs then Nothing else Just (init xs, last xs)423+++ OK, passed 100 tests.424cons 't' "est" == "test"425+++ OK, passed 100 tests.426\x xs -> uncons (cons x xs) == Just (x,xs)427+++ OK, passed 100 tests.428snoc "tes" 't' == "test"429+++ OK, passed 100 tests.430\xs x -> unsnoc (snoc xs x) == Just (xs,x)431+++ OK, passed 100 tests.432enumerate == [False, True]433+++ OK, passed 100 tests.434takeEnd 3 "hello" == "llo"435+++ OK, passed 100 tests.436takeEnd 5 "bye" == "bye"437+++ OK, passed 100 tests.438takeEnd (-1) "bye" == ""439+++ OK, passed 100 tests.440\i xs -> takeEnd i xs `isSuffixOf` xs441+++ OK, passed 100 tests.442\i xs -> length (takeEnd i xs) == min (max 0 i) (length xs)443+++ OK, passed 100 tests.444dropEnd 3 "hello" == "he"445+++ OK, passed 100 tests.446dropEnd 5 "bye" == ""447+++ OK, passed 100 tests.448dropEnd (-1) "bye" == "bye"449+++ OK, passed 100 tests.450\i xs -> dropEnd i xs `isPrefixOf` xs451+++ OK, passed 100 tests.452\i xs -> length (dropEnd i xs) == max 0 (length xs - max 0 i)453+++ OK, passed 100 tests.454\i -> take 3 (dropEnd 5 [i..]) == take 3 [i..]455+++ OK, passed 100 tests.456splitAtEnd 3 "hello" == ("he","llo")457+++ OK, passed 100 tests.458splitAtEnd 3 "he" == ("", "he")459+++ OK, passed 100 tests.460\i xs -> uncurry (++) (splitAt i xs) == xs461+++ OK, passed 100 tests.462\i xs -> splitAtEnd i xs == (dropEnd i xs, takeEnd i xs)463+++ OK, passed 100 tests.464\i xs -> zip [i..] xs == zipFrom i xs465+++ OK, passed 100 tests.466zipFrom False [1..3] == [(False,1),(True, 2)]467+++ OK, passed 100 tests.468\i xs -> zipWithFrom (,) i xs == zipFrom i xs469+++ OK, passed 100 tests.470concatUnzip [("a","AB"),("bc","C")] == ("abc","ABC")471+++ OK, passed 100 tests.472concatUnzip3 [("a","AB",""),("bc","C","123")] == ("abc","ABC","123")473+++ OK, passed 100 tests.474takeWhileEnd even [2,3,4,6] == [4,6]475+++ OK, passed 100 tests.476trim " hello " == "hello"477+++ OK, passed 100 tests.478trimStart " hello " == "hello "479+++ OK, passed 100 tests.480trimEnd " hello " == " hello"481+++ OK, passed 100 tests.482\s -> trim s == trimEnd (trimStart s)483+++ OK, passed 100 tests.484lower "This is A TEST" == "this is a test"485+++ OK, passed 100 tests.486lower "" == ""487+++ OK, passed 100 tests.488upper "This is A TEST" == "THIS IS A TEST"489+++ OK, passed 100 tests.490upper "" == ""491+++ OK, passed 100 tests.492word1 "" == ("", "")493+++ OK, passed 100 tests.494word1 "keyword rest of string" == ("keyword","rest of string")495+++ OK, passed 100 tests.496word1 " keyword\n rest of string" == ("keyword","rest of string")497+++ OK, passed 100 tests.498\s -> fst (word1 s) == concat (take 1 $ words s)499+++ OK, passed 100 tests.500\s -> words (snd $ word1 s) == drop 1 (words s)501+++ OK, passed 100 tests.502line1 "" == ("", "")503+++ OK, passed 100 tests.504line1 "test" == ("test","")505+++ OK, passed 100 tests.506line1 "test\n" == ("test","")507+++ OK, passed 100 tests.508line1 "test\nrest" == ("test","rest")509+++ OK, passed 100 tests.510line1 "test\nrest\nmore" == ("test","rest\nmore")511+++ OK, passed 100 tests.512escapeHTML "this is a test" == "this is a test"513+++ OK, passed 100 tests.514escapeHTML "<b>\"g&t\"</n>" == "<b>"g&t"</n>"515+++ OK, passed 100 tests.516escapeHTML "t'was another test" == "t'was another test"517+++ OK, passed 100 tests.518\xs -> unescapeHTML (escapeHTML xs) == xs519+++ OK, passed 100 tests.520escapeJSON "this is a test" == "this is a test"521+++ OK, passed 100 tests.522escapeJSON "\ttab\nnewline\\" == "\\ttab\\nnewline\\\\"523+++ OK, passed 100 tests.524escapeJSON "\ESC[0mHello" == "\\u001b[0mHello"525+++ OK, passed 100 tests.526\xs -> unescapeJSON (escapeJSON xs) == xs527+++ OK, passed 100 tests.528groupOn abs [1,-1,2] == [[1,-1], [2]]529+++ OK, passed 100 tests.530groupOnKey abs [1,-1,2] == [(1, [1,-1]), (2, [2])]531+++ OK, passed 100 tests.532maximumOn id [] == undefined533+++ OK, passed 100 tests.534maximumOn length ["test","extra","a"] == "extra"535+++ OK, passed 100 tests.536minimumOn id [] == undefined537+++ OK, passed 100 tests.538minimumOn length ["test","extra","a"] == "a"539+++ OK, passed 100 tests.540groupSort [(1,'t'),(3,'t'),(2,'e'),(2,'s')] == [(1,"t"),(2,"es"),(3,"t")]541+++ OK, passed 100 tests.542\xs -> map fst (groupSort xs) == sort (nub (map fst xs))543+++ OK, passed 100 tests.544\xs -> concatMap snd (groupSort xs) == map snd (sortOn fst xs)545+++ OK, passed 100 tests.546groupSortOn length ["test","of","sized","item"] == [["of"],["test","item"],["sized"]]547+++ OK, passed 100 tests.548groupSortBy (compare `on` length) ["test","of","sized","item"] == [["of"],["test","item"],["sized"]]549+++ OK, passed 100 tests.550sum' [1, 2, 3] == 6551+++ OK, passed 100 tests.552sumOn' read ["1", "2", "3"] == 6553+++ OK, passed 100 tests.554product' [1, 2, 4] == 8555+++ OK, passed 100 tests.556productOn' read ["1", "2", "4"] == 8557+++ OK, passed 100 tests.558merge "ace" "bd" == "abcde"559+++ OK, passed 100 tests.560\xs ys -> merge (sort xs) (sort ys) == sort (xs ++ ys)561+++ OK, passed 100 tests.562replace "el" "_" "Hello Bella" == "H_lo B_la"563+++ OK, passed 100 tests.564replace "el" "e" "Hello" == "Helo"565+++ OK, passed 100 tests.566replace "" "x" "Hello" == "xHxexlxlxox"567+++ OK, passed 100 tests.568replace "" "x" "" == "x"569+++ OK, passed 100 tests.570\xs ys -> replace xs xs ys == ys571+++ OK, passed 100 tests.572breakEnd isLower "youRE" == ("you","RE")573+++ OK, passed 100 tests.574breakEnd isLower "youre" == ("youre","")575+++ OK, passed 100 tests.576breakEnd isLower "YOURE" == ("","YOURE")577+++ OK, passed 100 tests.578\f xs -> breakEnd (not . f) xs == spanEnd f xs579+++ OK, passed 100 tests.580spanEnd isUpper "youRE" == ("you","RE")581+++ OK, passed 100 tests.582spanEnd (not . isSpace) "x y z" == ("x y ","z")583+++ OK, passed 100 tests.584\f xs -> uncurry (++) (spanEnd f xs) == xs585+++ OK, passed 100 tests.586\f xs -> spanEnd f xs == swap (both reverse (span f (reverse xs)))587+++ OK, passed 100 tests.588wordsBy (== ':') "::xyz:abc::123::" == ["xyz","abc","123"]589+++ OK, passed 100 tests.590\s -> wordsBy isSpace s == words s591+++ OK, passed 100 tests.592linesBy (== ':') "::xyz:abc::123::" == ["","","xyz","abc","","123",""]593+++ OK, passed 100 tests.594\s -> linesBy (== '\n') s == lines s595+++ OK, passed 100 tests.596linesBy (== ';') "my;list;here;" == ["my","list","here"]597+++ OK, passed 100 tests.598firstJust id [Nothing,Just 3] == Just 3599+++ OK, passed 100 tests.600firstJust id [Nothing,Nothing] == Nothing601+++ OK, passed 100 tests.602drop1 "" == ""603+++ OK, passed 100 tests.604drop1 "test" == "est"605+++ OK, passed 100 tests.606\xs -> drop 1 xs == drop1 xs607+++ OK, passed 100 tests.608dropEnd1 "" == ""609+++ OK, passed 100 tests.610dropEnd1 "test" == "tes"611+++ OK, passed 100 tests.612\xs -> dropEnd 1 xs == dropEnd1 xs613+++ OK, passed 100 tests.614mconcatMap Sum [1,2,3] == Sum 6615+++ OK, passed 100 tests.616\f xs -> mconcatMap f xs == concatMap f xs617+++ OK, passed 100 tests.618breakOn "::" "a::b::c" == ("a", "::b::c")619+++ OK, passed 100 tests.620breakOn "/" "foobar" == ("foobar", "")621+++ OK, passed 100 tests.622\needle haystack -> let (prefix,match) = breakOn needle haystack in prefix ++ match == haystack623+++ OK, passed 100 tests.624breakOnEnd "::" "a::b::c" == ("a::b::", "c")625+++ OK, passed 100 tests.626splitOn "\r\n" "a\r\nb\r\nd\r\ne" == ["a","b","d","e"]627+++ OK, passed 100 tests.628splitOn "aaa" "aaaXaaaXaaaXaaa" == ["","X","X","X",""]629+++ OK, passed 100 tests.630splitOn "x" "x" == ["",""]631+++ OK, passed 100 tests.632splitOn "x" "" == [""]633+++ OK, passed 100 tests.634\s x -> s /= "" ==> intercalate s (splitOn s x) == x635+++ OK, passed 100 tests; 17 discarded.636\c x -> splitOn [c] x == split (==c) x637+++ OK, passed 100 tests.638split (== 'a') "aabbaca" == ["","","bb","c",""]639+++ OK, passed 100 tests.640split (== 'a') "" == [""]641+++ OK, passed 100 tests.642split (== ':') "::xyz:abc::123::" == ["","","xyz","abc","","123","",""]643+++ OK, passed 100 tests.644split (== ',') "my,list,here" == ["my","list","here"]645+++ OK, passed 100 tests.646dropWhileEnd isSpace "ab cde " == "ab cde"647+++ OK, passed 100 tests.648dropWhileEnd' isSpace "ab cde " == "ab cde"649+++ OK, passed 100 tests.650last (dropWhileEnd even [undefined,3]) == undefined651+++ OK, passed 100 tests.652last (dropWhileEnd' even [undefined,3]) == 3653+++ OK, passed 100 tests.654head (dropWhileEnd even (3:undefined)) == 3655+++ OK, passed 100 tests.656head (dropWhileEnd' even (3:undefined)) == undefined657+++ OK, passed 100 tests.658dropPrefix "Mr. " "Mr. Men" == "Men"659+++ OK, passed 100 tests.660dropPrefix "Mr. " "Dr. Men" == "Dr. Men"661+++ OK, passed 100 tests.662dropSuffix "!" "Hello World!" == "Hello World"663+++ OK, passed 100 tests.664dropSuffix "!" "Hello World!!" == "Hello World!"665+++ OK, passed 100 tests.666dropSuffix "!" "Hello World." == "Hello World."667+++ OK, passed 100 tests.668stripSuffix "bar" "foobar" == Just "foo"669+++ OK, passed 100 tests.670stripSuffix "" "baz" == Just "baz"671+++ OK, passed 100 tests.672stripSuffix "foo" "quux" == Nothing673+++ OK, passed 100 tests.674stripInfix "::" "a::b::c" == Just ("a", "b::c")675+++ OK, passed 100 tests.676stripInfix "/" "foobar" == Nothing677+++ OK, passed 100 tests.678stripInfixEnd "::" "a::b::c" == Just ("a::b", "c")679+++ OK, passed 100 tests.680chunksOf 3 "my test" == ["my ","tes","t"]681+++ OK, passed 100 tests.682chunksOf 3 "mytest" == ["myt","est"]683+++ OK, passed 100 tests.684chunksOf 8 "" == []685+++ OK, passed 100 tests.686chunksOf 0 "test" == undefined687+++ OK, passed 100 tests.688nubSort "this is a test" == " aehist"689+++ OK, passed 100 tests.690\xs -> nubSort xs == nub (sort xs)691+++ OK, passed 100 tests.692nubSortOn length ["a","test","of","this"] == ["a","of","test"]693+++ OK, passed 100 tests.694nubSortBy (compare `on` length) ["a","test","of","this"] == ["a","of","test"]695+++ OK, passed 100 tests.696nubOrd "this is a test" == "this ae"697+++ OK, passed 100 tests.698nubOrd (take 4 ("this" ++ undefined)) == "this"699+++ OK, passed 100 tests.700\xs -> nubOrd xs == nub xs701+++ OK, passed 100 tests.702nubOrdOn length ["a","test","of","this"] == ["a","test","of"]703+++ OK, passed 100 tests.704nubOrdBy (compare `on` length) ["a","test","of","this"] == ["a","test","of"]705+++ OK, passed 100 tests.706zipWithLongest (,) "a" "xyz" == [(Just 'a', Just 'x'), (Nothing, Just 'y'), (Nothing, Just 'z')]707+++ OK, passed 100 tests.708zipWithLongest (,) "a" "x" == [(Just 'a', Just 'x')]709+++ OK, passed 100 tests.710zipWithLongest (,) "" "x" == [(Nothing, Just 'x')]711+++ OK, passed 100 tests.712comparingLength [1,2,3] [False] == GT713+++ OK, passed 100 tests.714comparingLength [1,2] "ab" == EQ715+++ OK, passed 100 tests.716\(xs :: [Int]) (ys :: [Int]) -> comparingLength xs ys == Data.Ord.comparing length xs ys717+++ OK, passed 100 tests.718comparingLength [1,2] (1:2:3:undefined) == LT719+++ OK, passed 100 tests.720comparingLength (1:2:3:undefined) [1,2] == GT721+++ OK, passed 100 tests.722mwhen True "test" == "test"723+++ OK, passed 100 tests.724mwhen False "test" == ""725+++ OK, passed 100 tests.726first succ (1,"test") == (2,"test")727+++ OK, passed 100 tests.728second reverse (1,"test") == (1,"tset")729+++ OK, passed 100 tests.730firstM (\x -> [x-1, x+1]) (1,"test") == [(0,"test"),(2,"test")]731+++ OK, passed 100 tests.732secondM (\x -> [reverse x, x]) (1,"test") == [(1,"tset"),(1,"test")]733+++ OK, passed 100 tests.734(succ *** reverse) (1,"test") == (2,"tset")735+++ OK, passed 100 tests.736(succ &&& pred) 1 == (2,0)737+++ OK, passed 100 tests.738dupe 12 == (12, 12)739+++ OK, passed 100 tests.740both succ (1,2) == (2,3)741+++ OK, passed 100 tests.742first3 succ (1,1,1) == (2,1,1)743+++ OK, passed 100 tests.744second3 succ (1,1,1) == (1,2,1)745+++ OK, passed 100 tests.746third3 succ (1,1,1) == (1,1,2)747+++ OK, passed 100 tests.748\x -> readVersion (showVersion x) == x749+++ OK, passed 100 tests.750readVersion "hello" == undefined751+++ OK, passed 100 tests.752showDP 4 pi == "3.1416"753+++ OK, passed 100 tests.754showDP 0 pi == "3"755+++ OK, passed 100 tests.756showDP 2 3 == "3.00"757+++ OK, passed 100 tests.758withTempDir $ \dir -> do writeFile (dir </> "foo.txt") ""; withCurrentDirectory dir $ doesFileExist "foo.txt"759+++ OK, passed 100 tests.760withTempDir $ \dir -> do writeFile (dir </> "test.txt") ""; (== [dir </> "test.txt"]) <$> listContents dir761+++ OK, passed 100 tests.762listTest listContents ["bar.txt","foo/baz.txt","zoo"] ["bar.txt","foo","zoo"]763+++ OK, passed 100 tests.764listTest listDirectories ["bar.txt","foo/baz.txt","zoo"] ["foo"]765+++ OK, passed 100 tests.766listTest listFiles ["bar.txt","foo/baz.txt","zoo"] ["bar.txt","zoo"]767+++ OK, passed 100 tests.768listTest listFilesRecursive ["bar.txt","zoo","foo" </> "baz.txt"] ["bar.txt","zoo","foo" </> "baz.txt"]769+++ OK, passed 100 tests.770listTest (listFilesInside $ pure . not . isPrefixOf "." . takeFileName) ["bar.txt","foo" </> "baz.txt",".foo" </> "baz2.txt", "zoo"] ["bar.txt","zoo","foo" </> "baz.txt"]771+++ OK, passed 100 tests.772listTest (listFilesInside $ const $ pure False) ["bar.txt"] []773+++ OK, passed 100 tests.774isWindows == (os == "mingw32")775+++ OK, passed 100 tests.776\(filter isHexDigit -> s) -> fmap (== s) $ withTempFile $ \file -> do writeFile file s; readFile' file777+++ OK, passed 100 tests.778\s -> withTempFile $ \file -> do writeFileUTF8 file s; fmap (== s) $ readFileUTF8' file779+++ OK, passed 100 tests.780\(ASCIIString s) -> withTempFile $ \file -> do writeFileBinary file s; fmap (== s) $ readFileBinary' file781+++ OK, passed 100 tests.782captureOutput (print 1) == pure ("1\n",())783+++ OK, passed 100 tests.784withTempFile doesFileExist == pure True785+++ OK, passed 100 tests.786(doesFileExist =<< withTempFile pure) == pure False787+++ OK, passed 100 tests.788withTempFile readFile' == pure ""789+++ OK, passed 100 tests.790withTempDir doesDirectoryExist == pure True791+++ OK, passed 100 tests.792(doesDirectoryExist =<< withTempDir pure) == pure False793+++ OK, passed 100 tests.794withTempDir listFiles == pure []795+++ OK, passed 100 tests.796fileEq "does_not_exist1" "does_not_exist2" == undefined797+++ OK, passed 100 tests.798fileEq "does_not_exist" "does_not_exist" == undefined799+++ OK, passed 100 tests.800withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined801+++ OK, passed 100 tests.802withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2803+++ OK, passed 100 tests.804withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2805+++ OK, passed 100 tests.806withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2)807+++ OK, passed 100 tests.808fmap (round . fst) (duration $ sleep 1) == pure 1809+++ OK, passed 100 tests.810timeout (-3) (print 1) == pure Nothing811+++ OK, passed 100 tests.812timeout 0.1 (print 1) == fmap Just (print 1)813+++ OK, passed 100 tests.814do (t, _) <- duration $ timeout 0.1 $ sleep 1000; print t; pure $ t < 18150.100352142816+++ OK, passed 100 tests.817timeout 0.1 (sleep 2 >> print 1) == pure Nothing818+++ OK, passed 100 tests.819showDuration 3.435 == "3.44s"820+++ OK, passed 100 tests.821showDuration 623.8 == "10m24s"822+++ OK, passed 100 tests.823showDuration 62003.8 == "17h13m"824+++ OK, passed 100 tests.825showDuration 1e8 == "27777h47m"826+++ OK, passed 100 tests.827do f <- offsetTime; xs <- replicateM 10 f; pure $ xs == sort xs828+++ OK, passed 100 tests.829do (a,_) <- duration $ sleep 1; pure $ a >= 1 && a <= 1.5830+++ OK, passed 100 tests.831Extra export832+++ OK, passed 100 tests.833withTempFile834....done835withTempDir836....done837retry838+++ OK, passed 100 tests.839barrier840Success (325 tests)841Test suite extra-test: PASS842Test suite logged to: dist/test/extra-1.8.1-extra-test.log8431 of 1 test suites (1 of 1 test cases) passed.haddockPhase
844Preprocessing library for extra-1.8.1...845Running Haddock on library for extra-1.8.1...846[ 1 of 22] Compiling Data.IORef.Extra ( src/Data/IORef/Extra.hs, nothing )847[ 2 of 22] Compiling Data.Monoid.Extra ( src/Data/Monoid/Extra.hs, nothing )848[ 3 of 22] Compiling Data.Tuple.Extra ( src/Data/Tuple/Extra.hs, nothing )849[ 4 of 22] Compiling Data.Typeable.Extra ( src/Data/Typeable/Extra.hs, nothing )850[ 5 of 22] Compiling Numeric.Extra ( src/Numeric/Extra.hs, nothing )851[ 6 of 22] Compiling Partial ( src/Partial.hs, nothing )852[ 7 of 22] Compiling Data.List.Extra ( src/Data/List/Extra.hs, nothing )853[ 8 of 22] Compiling Data.Version.Extra ( src/Data/Version/Extra.hs, nothing )854[ 9 of 22] Compiling Data.List.NonEmpty.Extra ( src/Data/List/NonEmpty/Extra.hs, nothing )855[10 of 22] Compiling Data.Either.Extra ( src/Data/Either/Extra.hs, nothing )856[11 of 22] Compiling Control.Exception.Extra ( src/Control/Exception/Extra.hs, nothing )857[12 of 22] Compiling Control.Monad.Extra ( src/Control/Monad/Extra.hs, nothing )858[13 of 22] Compiling Data.Foldable.Extra ( src/Data/Foldable/Extra.hs, nothing )859[14 of 22] Compiling Control.Concurrent.Extra ( src/Control/Concurrent/Extra.hs, nothing )860[15 of 22] Compiling System.Directory.Extra ( src/System/Directory/Extra.hs, nothing )861[16 of 22] Compiling System.Environment.Extra ( src/System/Environment/Extra.hs, nothing )862[17 of 22] Compiling System.IO.Extra ( src/System/IO/Extra.hs, nothing )863[18 of 22] Compiling System.Info.Extra ( src/System/Info/Extra.hs, nothing )864[19 of 22] Compiling System.Process.Extra ( src/System/Process/Extra.hs, nothing )865[20 of 22] Compiling System.Time.Extra ( src/System/Time/Extra.hs, nothing )866[21 of 22] Compiling Extra ( src/Extra.hs, nothing )867[22 of 22] Compiling Text.Read.Extra ( src/Text/Read/Extra.hs, nothing )868Haddock coverage:869 100% ( 6 / 6) in 'Data.IORef.Extra'870 100% ( 4 / 4) in 'Data.Monoid.Extra'871Warning: 'Arrow' is out of scope.872 If you qualify the identifier, haddock can try to link it anyway.873 100% ( 22 / 22) in 'Data.Tuple.Extra'874 100% ( 2 / 2) in 'Data.Typeable.Extra'875 100% ( 7 / 7) in 'Numeric.Extra'876Warning: '(:)' is out of scope.877 If you qualify the identifier, haddock can try to link it anyway.878Warning: 'unzip' is ambiguous. It is defined879 * in ‘GHC.Internal.Data.Functor’880 * in ‘GHC.Internal.List’881 You may be able to disambiguate the identifier by qualifying it or882 by specifying the type/value namespace explicitly.883 Defaulting to the one defined in ‘GHC.Internal.List’884Warning: 'firstJustM' is out of scope.885 If you qualify the identifier, haddock can try to link it anyway.886 100% ( 85 / 85) in 'Data.List.Extra'887Warning: 'Version' is ambiguous. It is defined888 * in ‘GHC.Internal.Data.Version’889 * in ‘GHC.Internal.Data.Version’890 You may be able to disambiguate the identifier by qualifying it or891 by specifying the type/value namespace explicitly.892 Defaulting to the one defined in ‘GHC.Internal.Data.Version’893 100% ( 3 / 3) in 'Data.Version.Extra'894Warning: 'length' is ambiguous. It is defined895 * in ‘Data.List.NonEmpty’896 * in ‘GHC.Internal.Data.Foldable’897 You may be able to disambiguate the identifier by qualifying it or898 by specifying the type/value namespace explicitly.899 Defaulting to the one defined in ‘GHC.Internal.Data.Foldable’900 100% ( 23 / 23) in 'Data.List.NonEmpty.Extra'901Warning: 'fromJust' is out of scope.902 If you qualify the identifier, haddock can try to link it anyway.903 100% ( 11 / 11) in 'Data.Either.Extra'904Warning: 'ErrorCall' is ambiguous. It is defined905 * in ‘GHC.Internal.Exception’906 * in ‘GHC.Internal.Exception’907 You may be able to disambiguate the identifier by qualifying it or908 by specifying the type/value namespace explicitly.909 Defaulting to the one defined in ‘GHC.Internal.Exception’910Warning: 'AssertionFailed' is ambiguous. It is defined911 * in ‘GHC.Internal.IO.Exception’912 * in ‘GHC.Internal.IO.Exception’913 You may be able to disambiguate the identifier by qualifying it or914 by specifying the type/value namespace explicitly.915 Defaulting to the one defined in ‘GHC.Internal.IO.Exception’916Warning: 'SomeException' is ambiguous. It is defined917 * in ‘GHC.Internal.Exception.Type’918 * in ‘GHC.Internal.Exception.Type’919 You may be able to disambiguate the identifier by qualifying it or920 by specifying the type/value namespace explicitly.921 Defaulting to the one defined in ‘GHC.Internal.Exception.Type’922 100% ( 21 / 21) in 'Control.Exception.Extra'923Warning: 'partition' is out of scope.924 If you qualify the identifier, haddock can try to link it anyway.925Warning: 'mconcatMap' is out of scope.926 If you qualify the identifier, haddock can try to link it anyway.927Warning: 'find' is out of scope.928 If you qualify the identifier, haddock can try to link it anyway.929 100% ( 40 / 40) in 'Control.Monad.Extra'930 92% ( 13 / 14) in 'Data.Foldable.Extra'931 Missing documentation for:932 Module header933Warning: 'Lock' is ambiguous. It is defined934 * at src/Control/Concurrent/Extra.hs:106:16935 * at src/Control/Concurrent/Extra.hs:106:1936 You may be able to disambiguate the identifier by qualifying it or937 by specifying the type/value namespace explicitly.938 Defaulting to the one defined at src/Control/Concurrent/Extra.hs:106:1939Warning: 'Var' is ambiguous. It is defined940 * at src/Control/Concurrent/Extra.hs:146:17941 * at src/Control/Concurrent/Extra.hs:146:1942 You may be able to disambiguate the identifier by qualifying it or943 by specifying the type/value namespace explicitly.944 Defaulting to the one defined at src/Control/Concurrent/Extra.hs:146:1945Warning: 'Barrier' is ambiguous. It is defined946 * at src/Control/Concurrent/Extra.hs:210:21947 * at src/Control/Concurrent/Extra.hs:210:1948 You may be able to disambiguate the identifier by qualifying it or949 by specifying the type/value namespace explicitly.950 Defaulting to the one defined at src/Control/Concurrent/Extra.hs:210:1951 100% ( 27 / 27) in 'Control.Concurrent.Extra'952 100% ( 8 / 8) in 'System.Directory.Extra'953 100% ( 2 / 2) in 'System.Environment.Extra'954 100% ( 26 / 26) in 'System.IO.Extra'955 100% ( 4 / 4) in 'System.Info.Extra'956 100% ( 5 / 5) in 'System.Process.Extra'957 100% ( 8 / 8) in 'System.Time.Extra'958 100% (270 /270) in 'Extra'959 100% ( 2 / 2) in 'Text.Read.Extra'960Documentation created: dist/doc/html/extra/, dist/doc/html/extra/extra.txt961Preprocessing test suite 'extra-test' for extra-1.8.1...installPhase
962Installing library in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/extra-1.8.1-jjuG7v1cG6AVcrvHU58OCfixupPhase
963shrinking RPATHs of ELF executables and libraries in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1964shrinking /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib/ghc-9.10.3/lib/aarch64-linux-ghc-9.10.3-eb55/libHSextra-1.8.1-jjuG7v1cG6AVcrvHU58OC-ghc9.10.3.so965checking for references to /build/ in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1...966patching script interpreter paths in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1967stripping (with command strip and flags -S -p) in /nix/store/miyki6v5ygp6ppwpgpm72g2prkn91iwy-extra-1.8.1/lib968shrinking RPATHs of ELF executables and libraries in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc969checking for references to /build/ in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc...970patching script interpreter paths in /nix/store/rbqx31j64mrzkfaw0qz4jlw9nbi4a0y5-extra-1.8.1-doc