From 261f14f3de1893ba0aec0485b02f19f1329d5c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sat, 26 Oct 2019 15:53:07 +0200 Subject: [PATCH 1/6] Pass --static to pkg-config on --enable-executable-static. This improves static building of packages with pkg-config depends, by using the pkg-config feature designed for just that. It results in more `-l` flags being emitted by `pkg-config --libs`, namely those of all recursive `.a` file dependencies. --- Cabal/src/Distribution/Simple/Configure.hs | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Cabal/src/Distribution/Simple/Configure.hs b/Cabal/src/Distribution/Simple/Configure.hs index 869b004ee99..ea157a4d819 100644 --- a/Cabal/src/Distribution/Simple/Configure.hs +++ b/Cabal/src/Distribution/Simple/Configure.hs @@ -574,8 +574,15 @@ configure (pkg_descr0, pbi) cfg = do configureAllKnownPrograms (lessVerbose verbosity) programDb >>= configureRequiredPrograms verbosity requiredBuildTools + let withFullyStaticExe_ = fromFlag $ configFullyStaticExe cfg + (pkg_descr', programDb'') <- - configurePkgconfigPackages verbosity pkg_descr programDb' enabled + configurePkgconfigPackages + verbosity + pkg_descr + programDb' + enabled + withFullyStaticExe_ -- Compute internal component graph -- @@ -678,7 +685,6 @@ configure (pkg_descr0, pbi) cfg = do withDynExe_ = fromFlag $ configDynExe cfg - withFullyStaticExe_ = fromFlag $ configFullyStaticExe cfg when (withDynExe_ && not withSharedLib_) $ warn verbosity $ "Executables will use dynamic linking, but a shared library " ++ "is not being built. Linking will fail if any executables " @@ -1562,8 +1568,9 @@ configureRequiredProgram verbosity progdb configurePkgconfigPackages :: Verbosity -> PackageDescription -> ProgramDb -> ComponentRequestedSpec + -> Bool -> IO (PackageDescription, ProgramDb) -configurePkgconfigPackages verbosity pkg_descr progdb enabled +configurePkgconfigPackages verbosity pkg_descr progdb enabled fullyStatic | null allpkgs = return (pkg_descr, progdb) | otherwise = do (_, _, progdb') <- requireProgramVersion @@ -1637,7 +1644,7 @@ configurePkgconfigPackages verbosity pkg_descr progdb enabled pkgconfigBuildInfo pkgdeps = do let pkgs = nub [ prettyShow pkg | PkgconfigDependency pkg _ <- pkgdeps ] ccflags <- pkgconfig ("--cflags" : pkgs) - ldflags <- pkgconfig ("--libs" : pkgs) + ldflags <- pkgconfig ("--libs" : (["--static" | fullyStatic] ++ pkgs)) return (ccLdOptionsBuildInfo (words ccflags) (words ldflags)) -- | Makes a 'BuildInfo' from C compiler and linker flags. From bf32602db5770a312fe632b997ff9b7c7e4d0329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Fri, 8 Nov 2019 21:30:49 +0100 Subject: [PATCH 2/6] Add field to to remember libs needed for fully static linking * WIP: Still need to update ghc to use the new `libraryDirsStatic` and `extraLibrariesStatic` fields in `InstalledPackageInfo` for linking. * WIP: Adding -L paths to .a libs in .conf files will likely increase nix closure size for dynamically linked Haskell packages because if pkg-config finds an `-a` file, the path to it will be remembered. (That only has an impact if the .a file is in a split-output from the .so file.) Perhaps we make the feature that `pkg-config --static` is called opt-outable. On the other hand Haskell libs always carry their .a files, so pulling a few system `.a` files more shouldn't make much of a difference. So this opt-out should probably be an extra feature for later, if at all. --- .../ParserTests/regressions/Octree-0.5.expr | 6 +++ .../regressions/common-conditional.expr | 16 +++++++ .../tests/ParserTests/regressions/common.expr | 4 ++ .../ParserTests/regressions/common2.expr | 16 +++++++ .../ParserTests/regressions/common3.expr | 4 ++ .../tests/ParserTests/regressions/elif.expr | 4 ++ .../tests/ParserTests/regressions/elif2.expr | 10 +++++ .../ParserTests/regressions/encoding-0.8.expr | 2 + .../ParserTests/regressions/generics-sop.expr | 14 ++++++ .../regressions/hidden-main-lib.expr | 2 + .../ParserTests/regressions/indentation.expr | 2 + .../ParserTests/regressions/indentation2.expr | 2 + .../ParserTests/regressions/indentation3.expr | 2 + .../ParserTests/regressions/issue-5055.expr | 6 +++ .../ParserTests/regressions/issue-774.expr | 2 + .../regressions/jaeger-flamegraph.expr | 6 +++ .../regressions/leading-comma-2.expr | 2 + .../regressions/leading-comma.expr | 2 + .../tests/ParserTests/regressions/libpq1.expr | 13 ++++++ .../tests/ParserTests/regressions/libpq2.expr | 13 ++++++ .../ParserTests/regressions/mixin-1.expr | 2 + .../ParserTests/regressions/mixin-2.expr | 2 + .../ParserTests/regressions/mixin-3.expr | 2 + .../regressions/multiple-libs-2.expr | 4 ++ .../ParserTests/regressions/noVersion.expr | 2 + .../regressions/nothing-unicode.expr | 4 ++ .../tests/ParserTests/regressions/shake.expr | 42 +++++++++++++++++ .../tests/ParserTests/regressions/spdx-1.expr | 2 + .../tests/ParserTests/regressions/spdx-2.expr | 2 + .../tests/ParserTests/regressions/spdx-3.expr | 2 + .../regressions/th-lift-instances.expr | 8 ++++ .../ParserTests/regressions/version-sets.expr | 2 + .../regressions/wl-pprint-indef.expr | 4 ++ .../Distribution/Utils/Structured.hs | 4 +- Cabal/src/Distribution/CabalSpecVersion.hs | 8 +++- .../Distribution/PackageDescription/Check.hs | 10 ++++- .../PackageDescription/FieldGrammar.hs | 4 ++ Cabal/src/Distribution/Simple/Configure.hs | 45 +++++++++++-------- Cabal/src/Distribution/Simple/GHC.hs | 18 ++++++-- Cabal/src/Distribution/Simple/GHC/Internal.hs | 1 + Cabal/src/Distribution/Simple/PreProcess.hs | 23 ++++++++-- .../src/Distribution/Simple/Program/HcPkg.hs | 1 + Cabal/src/Distribution/Simple/Register.hs | 12 +++++ Cabal/src/Distribution/Simple/Setup.hs | 9 ++++ Cabal/src/Distribution/Types/BuildInfo.hs | 6 +++ .../src/Distribution/Types/BuildInfo/Lens.hs | 14 ++++++ .../Types/InstalledPackageInfo.hs | 4 ++ .../InstalledPackageInfo/FieldGrammar.hs | 2 + .../Types/InstalledPackageInfo/Lens.hs | 8 ++++ .../src/Distribution/Client/Config.hs | 3 ++ .../Client/ProjectConfig/Legacy.hs | 7 +++ .../Client/ProjectConfig/Types.hs | 1 + .../Distribution/Client/ProjectPlanning.hs | 2 + .../Client/ProjectPlanning/Types.hs | 1 + .../src/Distribution/Client/Setup.hs | 8 +++- .../Distribution/Client/ProjectConfig.hs | 7 ++- doc/cabal-package.rst | 16 ++++++- doc/file-format-changelog.rst | 15 +++++++ 58 files changed, 399 insertions(+), 36 deletions(-) diff --git a/Cabal-tests/tests/ParserTests/regressions/Octree-0.5.expr b/Cabal-tests/tests/ParserTests/regressions/Octree-0.5.expr index 5e85f4dd1ee..30e676cff11 100644 --- a/Cabal-tests/tests/ParserTests/regressions/Octree-0.5.expr +++ b/Cabal-tests/tests/ParserTests/regressions/Octree-0.5.expr @@ -44,8 +44,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -140,8 +142,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -245,8 +249,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/common-conditional.expr b/Cabal-tests/tests/ParserTests/regressions/common-conditional.expr index 76ad95064a5..b2cca2ada9b 100644 --- a/Cabal-tests/tests/ParserTests/regressions/common-conditional.expr +++ b/Cabal-tests/tests/ParserTests/regressions/common-conditional.expr @@ -45,8 +45,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -131,8 +133,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -214,8 +218,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -281,8 +287,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -358,8 +366,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -437,8 +447,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -524,8 +536,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -608,8 +622,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/common.expr b/Cabal-tests/tests/ParserTests/regressions/common.expr index 2d84ad0bb86..0273441bfdc 100644 --- a/Cabal-tests/tests/ParserTests/regressions/common.expr +++ b/Cabal-tests/tests/ParserTests/regressions/common.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -100,8 +102,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/common2.expr b/Cabal-tests/tests/ParserTests/regressions/common2.expr index 5da11ec118e..611ad39242c 100644 --- a/Cabal-tests/tests/ParserTests/regressions/common2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/common2.expr @@ -41,8 +41,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -121,8 +123,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -213,8 +217,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -295,8 +301,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -391,8 +399,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -470,8 +480,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -543,8 +555,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -618,8 +632,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/common3.expr b/Cabal-tests/tests/ParserTests/regressions/common3.expr index 1bb9c67a6ec..d4ce4267c9b 100644 --- a/Cabal-tests/tests/ParserTests/regressions/common3.expr +++ b/Cabal-tests/tests/ParserTests/regressions/common3.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -110,8 +112,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/elif.expr b/Cabal-tests/tests/ParserTests/regressions/elif.expr index 311032fd1c6..b9ea1f18bc9 100644 --- a/Cabal-tests/tests/ParserTests/regressions/elif.expr +++ b/Cabal-tests/tests/ParserTests/regressions/elif.expr @@ -41,8 +41,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -108,8 +110,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/elif2.expr b/Cabal-tests/tests/ParserTests/regressions/elif2.expr index 5f0ab651fdc..b4e7be7dc75 100644 --- a/Cabal-tests/tests/ParserTests/regressions/elif2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/elif2.expr @@ -39,8 +39,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -108,8 +110,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -175,8 +179,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -244,8 +250,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -311,8 +319,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/encoding-0.8.expr b/Cabal-tests/tests/ParserTests/regressions/encoding-0.8.expr index 5d89604a565..f5447429927 100644 --- a/Cabal-tests/tests/ParserTests/regressions/encoding-0.8.expr +++ b/Cabal-tests/tests/ParserTests/regressions/encoding-0.8.expr @@ -36,8 +36,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/generics-sop.expr b/Cabal-tests/tests/ParserTests/regressions/generics-sop.expr index 6f1a7dab725..dfddaf29a02 100644 --- a/Cabal-tests/tests/ParserTests/regressions/generics-sop.expr +++ b/Cabal-tests/tests/ParserTests/regressions/generics-sop.expr @@ -47,8 +47,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -150,8 +152,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -242,8 +246,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -308,8 +314,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -440,8 +448,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], @@ -563,8 +573,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "test"], hsc2hsOptions = [], @@ -650,8 +662,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "test"], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/hidden-main-lib.expr b/Cabal-tests/tests/ParserTests/regressions/hidden-main-lib.expr index 6a7484dc428..bcb1f1f5bbb 100644 --- a/Cabal-tests/tests/ParserTests/regressions/hidden-main-lib.expr +++ b/Cabal-tests/tests/ParserTests/regressions/hidden-main-lib.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/indentation.expr b/Cabal-tests/tests/ParserTests/regressions/indentation.expr index 10464b3cf75..2b747fd1b8e 100644 --- a/Cabal-tests/tests/ParserTests/regressions/indentation.expr +++ b/Cabal-tests/tests/ParserTests/regressions/indentation.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/indentation2.expr b/Cabal-tests/tests/ParserTests/regressions/indentation2.expr index cc3109b05b1..56f23f26d0e 100644 --- a/Cabal-tests/tests/ParserTests/regressions/indentation2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/indentation2.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/indentation3.expr b/Cabal-tests/tests/ParserTests/regressions/indentation3.expr index 1d7fbe36a65..f7ed51e79fa 100644 --- a/Cabal-tests/tests/ParserTests/regressions/indentation3.expr +++ b/Cabal-tests/tests/ParserTests/regressions/indentation3.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-5055.expr b/Cabal-tests/tests/ParserTests/regressions/issue-5055.expr index 6467cef7027..96577831b36 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-5055.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-5055.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -106,8 +108,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -173,8 +177,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-774.expr b/Cabal-tests/tests/ParserTests/regressions/issue-774.expr index 849934afd46..af63d8cd9f0 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-774.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-774.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/jaeger-flamegraph.expr b/Cabal-tests/tests/ParserTests/regressions/jaeger-flamegraph.expr index 0fa6290b549..51b6add00d7 100644 --- a/Cabal-tests/tests/ParserTests/regressions/jaeger-flamegraph.expr +++ b/Cabal-tests/tests/ParserTests/regressions/jaeger-flamegraph.expr @@ -63,8 +63,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "exe"], hsc2hsOptions = [], @@ -213,8 +215,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "library"], hsc2hsOptions = [], @@ -329,8 +333,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "test"], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/leading-comma-2.expr b/Cabal-tests/tests/ParserTests/regressions/leading-comma-2.expr index ff7cc10a92f..6fc8dafb3e8 100644 --- a/Cabal-tests/tests/ParserTests/regressions/leading-comma-2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/leading-comma-2.expr @@ -61,8 +61,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/leading-comma.expr b/Cabal-tests/tests/ParserTests/regressions/leading-comma.expr index 31ec5da467e..c813d8b5668 100644 --- a/Cabal-tests/tests/ParserTests/regressions/leading-comma.expr +++ b/Cabal-tests/tests/ParserTests/regressions/leading-comma.expr @@ -54,8 +54,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/libpq1.expr b/Cabal-tests/tests/ParserTests/regressions/libpq1.expr index 58d89e9003e..cad1cfc69bf 100644 --- a/Cabal-tests/tests/ParserTests/regressions/libpq1.expr +++ b/Cabal-tests/tests/ParserTests/regressions/libpq1.expr @@ -49,8 +49,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -143,8 +145,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -231,6 +235,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["crypto", "ssl"], @@ -293,6 +298,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["pq"], frameworks = [], @@ -356,6 +362,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["libpq"], frameworks = [], @@ -417,8 +424,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -480,8 +489,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -566,8 +577,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/libpq2.expr b/Cabal-tests/tests/ParserTests/regressions/libpq2.expr index 0df92cdbaba..a5917a6a6c5 100644 --- a/Cabal-tests/tests/ParserTests/regressions/libpq2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/libpq2.expr @@ -49,8 +49,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -143,8 +145,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -231,6 +235,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["crypto", "ssl"], @@ -293,6 +298,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["pq"], frameworks = [], @@ -356,6 +362,7 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = ["libpq"], frameworks = [], @@ -417,8 +424,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -480,8 +489,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -566,8 +577,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/mixin-1.expr b/Cabal-tests/tests/ParserTests/regressions/mixin-1.expr index a0c7511608f..2878577225b 100644 --- a/Cabal-tests/tests/ParserTests/regressions/mixin-1.expr +++ b/Cabal-tests/tests/ParserTests/regressions/mixin-1.expr @@ -40,8 +40,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "str-example"], diff --git a/Cabal-tests/tests/ParserTests/regressions/mixin-2.expr b/Cabal-tests/tests/ParserTests/regressions/mixin-2.expr index e000a7f239f..b2866d4a5e0 100644 --- a/Cabal-tests/tests/ParserTests/regressions/mixin-2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/mixin-2.expr @@ -40,8 +40,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "str-example"], diff --git a/Cabal-tests/tests/ParserTests/regressions/mixin-3.expr b/Cabal-tests/tests/ParserTests/regressions/mixin-3.expr index 2e6dac9296f..1a02247a87a 100644 --- a/Cabal-tests/tests/ParserTests/regressions/mixin-3.expr +++ b/Cabal-tests/tests/ParserTests/regressions/mixin-3.expr @@ -40,8 +40,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "str-example"], diff --git a/Cabal-tests/tests/ParserTests/regressions/multiple-libs-2.expr b/Cabal-tests/tests/ParserTests/regressions/multiple-libs-2.expr index 42ac4c64375..2af5d422e3b 100644 --- a/Cabal-tests/tests/ParserTests/regressions/multiple-libs-2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/multiple-libs-2.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -100,8 +102,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/noVersion.expr b/Cabal-tests/tests/ParserTests/regressions/noVersion.expr index da99086255d..e96ca1efb35 100644 --- a/Cabal-tests/tests/ParserTests/regressions/noVersion.expr +++ b/Cabal-tests/tests/ParserTests/regressions/noVersion.expr @@ -34,8 +34,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/nothing-unicode.expr b/Cabal-tests/tests/ParserTests/regressions/nothing-unicode.expr index fdffa0b9fb4..650054bcf00 100644 --- a/Cabal-tests/tests/ParserTests/regressions/nothing-unicode.expr +++ b/Cabal-tests/tests/ParserTests/regressions/nothing-unicode.expr @@ -35,8 +35,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -96,8 +98,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/shake.expr b/Cabal-tests/tests/ParserTests/regressions/shake.expr index dc219b0292a..36f522c82df 100644 --- a/Cabal-tests/tests/ParserTests/regressions/shake.expr +++ b/Cabal-tests/tests/ParserTests/regressions/shake.expr @@ -33,8 +33,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -110,8 +112,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -177,8 +181,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -248,8 +254,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -313,8 +321,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -383,8 +393,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -517,8 +529,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], @@ -829,8 +843,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -898,8 +914,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -971,8 +989,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1038,8 +1058,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1110,8 +1132,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1247,8 +1271,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath ".", SymbolicPath "src"], @@ -1505,8 +1531,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1572,8 +1600,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1651,8 +1681,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1721,8 +1753,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1795,8 +1829,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1863,8 +1899,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -1936,8 +1974,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -2073,8 +2113,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/spdx-1.expr b/Cabal-tests/tests/ParserTests/regressions/spdx-1.expr index 43f81a8004d..29b85215c1a 100644 --- a/Cabal-tests/tests/ParserTests/regressions/spdx-1.expr +++ b/Cabal-tests/tests/ParserTests/regressions/spdx-1.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/spdx-2.expr b/Cabal-tests/tests/ParserTests/regressions/spdx-2.expr index 196b6cef66f..427f0eb21ca 100644 --- a/Cabal-tests/tests/ParserTests/regressions/spdx-2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/spdx-2.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/spdx-3.expr b/Cabal-tests/tests/ParserTests/regressions/spdx-3.expr index 0a21b1ee8c2..b7b57e34bf1 100644 --- a/Cabal-tests/tests/ParserTests/regressions/spdx-3.expr +++ b/Cabal-tests/tests/ParserTests/regressions/spdx-3.expr @@ -31,8 +31,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/th-lift-instances.expr b/Cabal-tests/tests/ParserTests/regressions/th-lift-instances.expr index 16d2c357afe..5d8fb72de88 100644 --- a/Cabal-tests/tests/ParserTests/regressions/th-lift-instances.expr +++ b/Cabal-tests/tests/ParserTests/regressions/th-lift-instances.expr @@ -68,8 +68,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "src"], hsc2hsOptions = [], @@ -238,8 +240,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "tests"], @@ -387,8 +391,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], @@ -464,8 +470,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "tests"], diff --git a/Cabal-tests/tests/ParserTests/regressions/version-sets.expr b/Cabal-tests/tests/ParserTests/regressions/version-sets.expr index decaa04d168..f3c993b7b7b 100644 --- a/Cabal-tests/tests/ParserTests/regressions/version-sets.expr +++ b/Cabal-tests/tests/ParserTests/regressions/version-sets.expr @@ -84,8 +84,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/ParserTests/regressions/wl-pprint-indef.expr b/Cabal-tests/tests/ParserTests/regressions/wl-pprint-indef.expr index 6eca1adc1b8..edbbeed7483 100644 --- a/Cabal-tests/tests/ParserTests/regressions/wl-pprint-indef.expr +++ b/Cabal-tests/tests/ParserTests/regressions/wl-pprint-indef.expr @@ -40,8 +40,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [SymbolicPath "example-string"], @@ -128,8 +130,10 @@ GenericPackageDescription extraFrameworkDirs = [], extraGHCiLibs = [], extraLibDirs = [], + extraLibDirsStatic = [], extraLibFlavours = [], extraLibs = [], + extraLibsStatic = [], frameworks = [], hsSourceDirs = [], hsc2hsOptions = [], diff --git a/Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs b/Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs index 80b9c341676..1d715af86e9 100644 --- a/Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs +++ b/Cabal-tests/tests/UnitTests/Distribution/Utils/Structured.hs @@ -27,9 +27,9 @@ tests = testGroup "Distribution.Utils.Structured" -- The difference is in encoding of newtypes #if MIN_VERSION_base(4,7,0) , testCase "GenericPackageDescription" $ - md5Check (Proxy :: Proxy GenericPackageDescription) 0x9b7d0415b1d2522d72ac9e9739c97574 + md5Check (Proxy :: Proxy GenericPackageDescription) 0xa164cbe5092a1cd31da1f15358d1537a , testCase "LocalBuildInfo" $ - md5Check (Proxy :: Proxy LocalBuildInfo) 0x9da2b93b62f2108858322770734daf31 + md5Check (Proxy :: Proxy LocalBuildInfo) 0xac70971ea59d30aab7e4b6dafc9113d4 #endif ] diff --git a/Cabal/src/Distribution/CabalSpecVersion.hs b/Cabal/src/Distribution/CabalSpecVersion.hs index 5e4345bdc59..142ade373c4 100644 --- a/Cabal/src/Distribution/CabalSpecVersion.hs +++ b/Cabal/src/Distribution/CabalSpecVersion.hs @@ -29,6 +29,7 @@ data CabalSpecVersion -- 3.2: no changes | CabalSpecV3_4 | CabalSpecV3_6 + | CabalSpecV3_8 deriving (Eq, Ord, Show, Read, Enum, Bounded, Typeable, Data, Generic) instance Binary CabalSpecVersion @@ -39,6 +40,7 @@ instance NFData CabalSpecVersion where rnf = genericRnf -- -- @since 3.0.0.0 showCabalSpecVersion :: CabalSpecVersion -> String +showCabalSpecVersion CabalSpecV3_8 = "3.8" showCabalSpecVersion CabalSpecV3_6 = "3.6" showCabalSpecVersion CabalSpecV3_4 = "3.4" showCabalSpecVersion CabalSpecV3_0 = "3.0" @@ -58,7 +60,7 @@ showCabalSpecVersion CabalSpecV1_2 = "1.2" showCabalSpecVersion CabalSpecV1_0 = "1.0" cabalSpecLatest :: CabalSpecVersion -cabalSpecLatest = CabalSpecV3_6 +cabalSpecLatest = CabalSpecV3_8 -- | Parse 'CabalSpecVersion' from version digits. -- @@ -66,6 +68,7 @@ cabalSpecLatest = CabalSpecV3_6 -- cabalSpecFromVersionDigits :: [Int] -> Maybe CabalSpecVersion cabalSpecFromVersionDigits v + | v == [3,8] = Just CabalSpecV3_8 | v == [3,6] = Just CabalSpecV3_6 | v == [3,4] = Just CabalSpecV3_4 | v == [3,0] = Just CabalSpecV3_0 @@ -87,6 +90,7 @@ cabalSpecFromVersionDigits v -- | @since 3.4.0.0 cabalSpecToVersionDigits :: CabalSpecVersion -> [Int] +cabalSpecToVersionDigits CabalSpecV3_8 = [3,8] cabalSpecToVersionDigits CabalSpecV3_6 = [3,6] cabalSpecToVersionDigits CabalSpecV3_4 = [3,4] cabalSpecToVersionDigits CabalSpecV3_0 = [3,0] @@ -131,7 +135,7 @@ specHasCommonStanzas v = else NoCommonStanzas specHasElif :: CabalSpecVersion -> HasElif -specHasElif v = +specHasElif v = if v >= CabalSpecV2_2 then HasElif else NoElif diff --git a/Cabal/src/Distribution/PackageDescription/Check.hs b/Cabal/src/Distribution/PackageDescription/Check.hs index 55d301867e1..d0f5fa1462d 100644 --- a/Cabal/src/Distribution/PackageDescription/Check.hs +++ b/Cabal/src/Distribution/PackageDescription/Check.hs @@ -915,9 +915,15 @@ checkGhcOptions fieldName getOptions pkg = , checkAlternatives fieldName "extra-libraries" [ (flag, lib) | flag@('-':'l':lib) <- all_ghc_options ] + , checkAlternatives fieldName "extra-libraries-static" + [ (flag, lib) | flag@('-':'l':lib) <- all_ghc_options ] + , checkAlternatives fieldName "extra-lib-dirs" [ (flag, dir) | flag@('-':'L':dir) <- all_ghc_options ] + , checkAlternatives fieldName "extra-lib-dirs-static" + [ (flag, dir) | flag@('-':'L':dir) <- all_ghc_options ] + , checkAlternatives fieldName "frameworks" [ (flag, fmwk) | (flag@"-framework", fmwk) <- zip all_ghc_options (safeTail all_ghc_options) ] @@ -1154,7 +1160,8 @@ checkPaths pkg = absPaths = concat [ [ (path, "includes", PathKindFile) | path <- includes bi ] ++ [ (path, "include-dirs", PathKindDirectory) | path <- includeDirs bi ] ++ - [ (path, "extra-lib-dirs", PathKindDirectory) | path <- extraLibDirs bi ] + [ (path, "extra-lib-dirs", PathKindDirectory) | path <- extraLibDirs bi ] ++ + [ (path, "extra-lib-dirs-static", PathKindDirectory) | path <- extraLibDirsStatic bi ] | bi <- allBuildInfo pkg ] @@ -1918,6 +1925,7 @@ checkLocalPathsExist ops pkg = do | bi <- allBuildInfo pkg , (dir, kind) <- [ (dir, "extra-lib-dirs") | dir <- extraLibDirs bi ] + ++ [ (dir, "extra-lib-dirs-static") | dir <- extraLibDirsStatic bi ] ++ [ (dir, "extra-framework-dirs") | dir <- extraFrameworkDirs bi ] ++ [ (dir, "include-dirs") | dir <- includeDirs bi ] diff --git a/Cabal/src/Distribution/PackageDescription/FieldGrammar.hs b/Cabal/src/Distribution/PackageDescription/FieldGrammar.hs index ee0ce41a459..cf6f0536b04 100644 --- a/Cabal/src/Distribution/PackageDescription/FieldGrammar.hs +++ b/Cabal/src/Distribution/PackageDescription/FieldGrammar.hs @@ -561,12 +561,16 @@ buildInfoFieldGrammar = BuildInfo ^^^ removedIn CabalSpecV3_0 "Please use 'default-extensions' or 'other-extensions' fields." <*> monoidalFieldAla "extra-libraries" (alaList' VCat Token) L.extraLibs + <*> monoidalFieldAla "extra-libraries-static" (alaList' VCat Token) L.extraLibsStatic + ^^^ availableSince CabalSpecV3_8 [] <*> monoidalFieldAla "extra-ghci-libraries" (alaList' VCat Token) L.extraGHCiLibs <*> monoidalFieldAla "extra-bundled-libraries" (alaList' VCat Token) L.extraBundledLibs <*> monoidalFieldAla "extra-library-flavours" (alaList' VCat Token) L.extraLibFlavours <*> monoidalFieldAla "extra-dynamic-library-flavours" (alaList' VCat Token) L.extraDynLibFlavours ^^^ availableSince CabalSpecV3_0 [] <*> monoidalFieldAla "extra-lib-dirs" (alaList' FSep FilePathNT) L.extraLibDirs + <*> monoidalFieldAla "extra-lib-dirs-static" (alaList' FSep FilePathNT) L.extraLibDirsStatic + ^^^ availableSince CabalSpecV3_8 [] <*> monoidalFieldAla "include-dirs" (alaList' FSep FilePathNT) L.includeDirs <*> monoidalFieldAla "includes" (alaList' FSep FilePathNT) L.includes <*> monoidalFieldAla "autogen-includes" (alaList' FSep FilePathNT) L.autogenIncludes diff --git a/Cabal/src/Distribution/Simple/Configure.hs b/Cabal/src/Distribution/Simple/Configure.hs index ea157a4d819..cf02b58d942 100644 --- a/Cabal/src/Distribution/Simple/Configure.hs +++ b/Cabal/src/Distribution/Simple/Configure.hs @@ -574,15 +574,8 @@ configure (pkg_descr0, pbi) cfg = do configureAllKnownPrograms (lessVerbose verbosity) programDb >>= configureRequiredPrograms verbosity requiredBuildTools - let withFullyStaticExe_ = fromFlag $ configFullyStaticExe cfg - (pkg_descr', programDb'') <- - configurePkgconfigPackages - verbosity - pkg_descr - programDb' - enabled - withFullyStaticExe_ + configurePkgconfigPackages verbosity pkg_descr programDb' enabled -- Compute internal component graph -- @@ -685,6 +678,8 @@ configure (pkg_descr0, pbi) cfg = do withDynExe_ = fromFlag $ configDynExe cfg + withFullyStaticExe_ = fromFlag $ configFullyStaticExe cfg + when (withDynExe_ && not withSharedLib_) $ warn verbosity $ "Executables will use dynamic linking, but a shared library " ++ "is not being built. Linking will fail if any executables " @@ -1017,6 +1012,7 @@ configureFinalizedPackage verbosity cfg enabled where addExtraIncludeLibDirs pkg_descr = let extraBi = mempty { extraLibDirs = configExtraLibDirs cfg + , extraLibDirsStatic = configExtraLibDirsStatic cfg , extraFrameworkDirs = configExtraFrameworkDirs cfg , includeDirs = configExtraIncludeDirs cfg} modifyLib l = l{ libBuildInfo = libBuildInfo l @@ -1568,9 +1564,8 @@ configureRequiredProgram verbosity progdb configurePkgconfigPackages :: Verbosity -> PackageDescription -> ProgramDb -> ComponentRequestedSpec - -> Bool -> IO (PackageDescription, ProgramDb) -configurePkgconfigPackages verbosity pkg_descr progdb enabled fullyStatic +configurePkgconfigPackages verbosity pkg_descr progdb enabled | null allpkgs = return (pkg_descr, progdb) | otherwise = do (_, _, progdb') <- requireProgramVersion @@ -1644,8 +1639,9 @@ configurePkgconfigPackages verbosity pkg_descr progdb enabled fullyStatic pkgconfigBuildInfo pkgdeps = do let pkgs = nub [ prettyShow pkg | PkgconfigDependency pkg _ <- pkgdeps ] ccflags <- pkgconfig ("--cflags" : pkgs) - ldflags <- pkgconfig ("--libs" : (["--static" | fullyStatic] ++ pkgs)) - return (ccLdOptionsBuildInfo (words ccflags) (words ldflags)) + ldflags <- pkgconfig ("--libs" : pkgs) + ldflags_static <- pkgconfig ("--libs" : "--static" : pkgs) + return (ccLdOptionsBuildInfo (words ccflags) (words ldflags) (words ldflags_static)) -- | Makes a 'BuildInfo' from C compiler and linker flags. -- @@ -1655,17 +1651,22 @@ configurePkgconfigPackages verbosity pkg_descr progdb enabled fullyStatic -- -- > ccflags <- getDbProgramOutput verbosity prog progdb ["--cflags"] -- > ldflags <- getDbProgramOutput verbosity prog progdb ["--libs"] --- > return (ccldOptionsBuildInfo (words ccflags) (words ldflags)) +-- > ldflags_static <- getDbProgramOutput verbosity prog progdb ["--libs", "--static"] +-- > return (ccldOptionsBuildInfo (words ccflags) (words ldflags) (words ldflags_static)) -- -ccLdOptionsBuildInfo :: [String] -> [String] -> BuildInfo -ccLdOptionsBuildInfo cflags ldflags = +ccLdOptionsBuildInfo :: [String] -> [String] -> [String] -> BuildInfo +ccLdOptionsBuildInfo cflags ldflags ldflags_static = let (includeDirs', cflags') = partition ("-I" `isPrefixOf`) cflags (extraLibs', ldflags') = partition ("-l" `isPrefixOf`) ldflags (extraLibDirs', ldflags'') = partition ("-L" `isPrefixOf`) ldflags' + (extraLibsStatic') = filter ("-l" `isPrefixOf`) ldflags_static + (extraLibDirsStatic') = filter ("-L" `isPrefixOf`) ldflags_static in mempty { includeDirs = map (drop 2) includeDirs', extraLibs = map (drop 2) extraLibs', extraLibDirs = map (drop 2) extraLibDirs', + extraLibsStatic = map (drop 2) extraLibsStatic', + extraLibDirsStatic = map (drop 2) extraLibDirsStatic', ccOptions = cflags', ldOptions = ldflags'' } @@ -1714,7 +1715,10 @@ checkForeignDeps pkg lbi verbosity = explainErrors missingHdr missingLibs) where allHeaders = collectField includes - allLibs = collectField extraLibs + allLibs = collectField $ + if withFullyStaticExe lbi + then extraLibsStatic + else extraLibs ifBuildsWith headers args success failure = do checkDuplicateHeaders @@ -1817,12 +1821,17 @@ checkForeignDeps pkg lbi verbosity = , opt <- IPI.ccOptions dep ] commonLdArgs = [ "-L" ++ dir - | dir <- ordNub (collectField extraLibDirs) ] + | dir <- ordNub $ collectField (if withFullyStaticExe lbi + then extraLibDirsStatic + else extraLibDirs + ) ] ++ collectField ldOptions ++ [ "-L" ++ dir | dir <- ordNub [ dir | dep <- deps - , dir <- IPI.libraryDirs dep ] + , dir <- if withFullyStaticExe lbi + then IPI.libraryDirsStatic dep + else IPI.libraryDirs dep ] ] --TODO: do we also need dependent packages' ld options? makeLdArgs libs = [ "-l"++lib | lib <- libs ] ++ commonLdArgs diff --git a/Cabal/src/Distribution/Simple/GHC.hs b/Cabal/src/Distribution/Simple/GHC.hs index 070115f2792..01a4d56e734 100644 --- a/Cabal/src/Distribution/Simple/GHC.hs +++ b/Cabal/src/Distribution/Simple/GHC.hs @@ -593,8 +593,13 @@ buildOrReplLib mReplFlags verbosity numJobs pkg_descr lbi lib clbi = do -- through to GHC's linker. ++ maybe [] programOverrideArgs (lookupProgram ldProgram (withPrograms lbi)), - ghcOptLinkLibs = extraLibs libBi, - ghcOptLinkLibPath = toNubListR $ extraLibDirs libBi, + ghcOptLinkLibs = if withFullyStaticExe lbi + then extraLibsStatic libBi + else extraLibs libBi, + ghcOptLinkLibPath = toNubListR $ + if withFullyStaticExe lbi + then extraLibDirsStatic libBi + else extraLibDirs libBi, ghcOptLinkFrameworks = toNubListR $ PD.frameworks libBi, ghcOptLinkFrameworkDirs = toNubListR $ PD.extraFrameworkDirs libBi, @@ -1356,8 +1361,13 @@ gbuild verbosity numJobs pkg_descr lbi bm clbi = do -- through to GHC's linker. ++ maybe [] programOverrideArgs (lookupProgram ldProgram (withPrograms lbi)), - ghcOptLinkLibs = extraLibs bnfo, - ghcOptLinkLibPath = toNubListR $ extraLibDirs bnfo, + ghcOptLinkLibs = if withFullyStaticExe lbi + then extraLibsStatic bnfo + else extraLibs bnfo, + ghcOptLinkLibPath = toNubListR $ + if withFullyStaticExe lbi + then extraLibDirsStatic bnfo + else extraLibDirs bnfo, ghcOptLinkFrameworks = toNubListR $ PD.frameworks bnfo, ghcOptLinkFrameworkDirs = toNubListR $ diff --git a/Cabal/src/Distribution/Simple/GHC/Internal.hs b/Cabal/src/Distribution/Simple/GHC/Internal.hs index 8ff5f24091b..d81a5a5295b 100644 --- a/Cabal/src/Distribution/Simple/GHC/Internal.hs +++ b/Cabal/src/Distribution/Simple/GHC/Internal.hs @@ -536,6 +536,7 @@ substTopDir topDir ipo = ipo { IPI.importDirs = map f (IPI.importDirs ipo), IPI.libraryDirs = map f (IPI.libraryDirs ipo), + IPI.libraryDirsStatic = map f (IPI.libraryDirsStatic ipo), IPI.includeDirs = map f (IPI.includeDirs ipo), IPI.frameworkDirs = map f (IPI.frameworkDirs ipo), IPI.haddockInterfaces = map f (IPI.haddockInterfaces ipo), diff --git a/Cabal/src/Distribution/Simple/PreProcess.hs b/Cabal/src/Distribution/Simple/PreProcess.hs index be360263b1a..e780aa835f7 100644 --- a/Cabal/src/Distribution/Simple/PreProcess.hs +++ b/Cabal/src/Distribution/Simple/PreProcess.hs @@ -468,9 +468,19 @@ ppHsc2hs bi lbi clbi = [ "-I" ++ autogenComponentModulesDir lbi clbi, "-I" ++ autogenPackageModulesDir lbi, "-include", autogenComponentModulesDir lbi clbi cppHeaderName ] ] - ++ [ "--lflag=-L" ++ opt | opt <- PD.extraLibDirs bi ] - ++ [ "--lflag=-Wl,-R," ++ opt | isELF - , opt <- PD.extraLibDirs bi ] + ++ [ "--lflag=-L" ++ opt + | opt <- + if withFullyStaticExe lbi + then PD.extraLibDirsStatic bi + else PD.extraLibDirs bi + ] + ++ [ "--lflag=-Wl,-R," ++ opt + | isELF + , opt <- + if withFullyStaticExe lbi + then PD.extraLibDirsStatic bi + else PD.extraLibDirs bi + ] ++ [ "--lflag=-l" ++ opt | opt <- PD.extraLibs bi ] ++ [ "--lflag=" ++ opt | opt <- PD.ldOptions bi ] @@ -484,7 +494,12 @@ ppHsc2hs bi lbi clbi = , opt <- [ "-L" ++ opt | opt <- Installed.libraryDirs pkg ] ++ [ "-Wl,-R," ++ opt | isELF , opt <- Installed.libraryDirs pkg ] - ++ [ "-l" ++ opt | opt <- Installed.extraLibraries pkg ] + ++ [ "-l" ++ opt + | opt <- + if withFullyStaticExe lbi + then Installed.extraLibrariesStatic pkg + else Installed.extraLibraries pkg + ] ++ [ opt | opt <- Installed.ldOptions pkg ] ] ++ preccldFlags ++ hsc2hsOptions bi diff --git a/Cabal/src/Distribution/Simple/Program/HcPkg.hs b/Cabal/src/Distribution/Simple/Program/HcPkg.hs index 3f254c6c335..1a3e3258e8f 100644 --- a/Cabal/src/Distribution/Simple/Program/HcPkg.hs +++ b/Cabal/src/Distribution/Simple/Program/HcPkg.hs @@ -314,6 +314,7 @@ mungePackagePaths pkgroot pkginfo = importDirs = mungePaths (importDirs pkginfo), includeDirs = mungePaths (includeDirs pkginfo), libraryDirs = mungePaths (libraryDirs pkginfo), + libraryDirsStatic = mungePaths (libraryDirsStatic pkginfo), libraryDynDirs = mungePaths (libraryDynDirs pkginfo), frameworkDirs = mungePaths (frameworkDirs pkginfo), haddockInterfaces = mungePaths (haddockInterfaces pkginfo), diff --git a/Cabal/src/Distribution/Simple/Register.hs b/Cabal/src/Distribution/Simple/Register.hs index 980884ad2e4..4a8faaeeeb3 100644 --- a/Cabal/src/Distribution/Simple/Register.hs +++ b/Cabal/src/Distribution/Simple/Register.hs @@ -425,12 +425,14 @@ generalInstalledPackageInfo adjustRelIncDirs pkg abi_hash lib lbi clbi installDi IPI.trusted = IPI.trusted IPI.emptyInstalledPackageInfo, IPI.importDirs = [ libdir installDirs | hasModules ], IPI.libraryDirs = libdirs, + IPI.libraryDirsStatic = libdirsStatic, IPI.libraryDynDirs = dynlibdirs, IPI.dataDir = datadir installDirs, IPI.hsLibraries = (if hasLibrary then [getHSLibraryName (componentUnitId clbi)] else []) ++ extraBundledLibs bi, IPI.extraLibraries = extraLibs bi, + IPI.extraLibrariesStatic = extraLibsStatic bi, IPI.extraGHCiLibraries = extraGHCiLibs bi, IPI.includeDirs = absinc ++ adjustRelIncDirs relinc, IPI.includes = includes bi, @@ -467,6 +469,16 @@ generalInstalledPackageInfo adjustRelIncDirs pkg abi_hash lib lbi clbi installDi || (not (null (jsSources bi)) && compilerFlavor comp == GHCJS)) && not (componentIsIndefinite clbi) + libdirsStatic + | hasLibrary = libdir installDirs : extraLibDirsStaticOrFallback + | otherwise = extraLibDirsStaticOrFallback + where + -- If no static library dirs were given, the package likely makes no + -- distinction between fully static linking and otherwise. + -- Fall back to the normal library dirs in that case. + extraLibDirsStaticOrFallback = case extraLibDirsStatic bi of + [] -> extraLibDirs bi + dirs -> dirs (libdirs, dynlibdirs) | not hasLibrary = (extraLibDirs bi, []) diff --git a/Cabal/src/Distribution/Simple/Setup.hs b/Cabal/src/Distribution/Simple/Setup.hs index 92c4a842697..7a9080c18e3 100644 --- a/Cabal/src/Distribution/Simple/Setup.hs +++ b/Cabal/src/Distribution/Simple/Setup.hs @@ -231,6 +231,9 @@ data ConfigFlags = ConfigFlags { -- paths configScratchDir :: Flag FilePath, configExtraLibDirs :: [FilePath], -- ^ path to search for extra libraries + configExtraLibDirsStatic :: [FilePath], -- ^ path to search for extra + -- libraries when linking + -- fully static executables configExtraFrameworkDirs :: [FilePath], -- ^ path to search for extra -- frameworks (OS X only) configExtraIncludeDirs :: [FilePath], -- ^ path to search for header files @@ -315,6 +318,7 @@ instance Eq ConfigFlags where && equal configInstallDirs && equal configScratchDir && equal configExtraLibDirs + && equal configExtraLibDirsStatic && equal configExtraIncludeDirs && equal configIPID && equal configDeterministic @@ -633,6 +637,11 @@ configureOptions showOrParseArgs = configExtraLibDirs (\v flags -> flags {configExtraLibDirs = v}) (reqArg' "PATH" (\x -> [x]) id) + ,option "" ["extra-lib-dirs-static"] + "A list of directories to search for external libraries when linking fully static executables" + configExtraLibDirsStatic (\v flags -> flags {configExtraLibDirsStatic = v}) + (reqArg' "PATH" (\x -> [x]) id) + ,option "" ["extra-framework-dirs"] "A list of directories to search for external frameworks (OS X only)" configExtraFrameworkDirs diff --git a/Cabal/src/Distribution/Types/BuildInfo.hs b/Cabal/src/Distribution/Types/BuildInfo.hs index 4975b178cbb..979dce35db6 100644 --- a/Cabal/src/Distribution/Types/BuildInfo.hs +++ b/Cabal/src/Distribution/Types/BuildInfo.hs @@ -78,6 +78,7 @@ data BuildInfo = BuildInfo { oldExtensions :: [Extension], -- ^ the old extensions field, treated same as 'defaultExtensions' extraLibs :: [String], -- ^ what libraries to link with when compiling a program that uses your package + extraLibsStatic :: [String], -- ^ what libraries to link with when compiling a program fully statically that uses your package extraGHCiLibs :: [String], -- ^ if present, overrides extraLibs when package is loaded with GHCi. extraBundledLibs :: [String], -- ^ if present, adds libs to hs-libraries, which become part of the package. -- Example: the Cffi library shipping with the rts, alognside the HSrts-1.0.a,.o,... @@ -94,6 +95,7 @@ data BuildInfo = BuildInfo { -- libraries when copying. This is particularly useful with the `rts` package, -- where we want different dynamic flavours of the RTS library to be installed. extraLibDirs :: [String], + extraLibDirsStatic :: [String], includeDirs :: [FilePath], -- ^directories to find .h files includes :: [FilePath], -- ^ The .h files to be found in includeDirs autogenIncludes :: [FilePath], -- ^ The .h files to be generated (e.g. by @autoconf@) @@ -144,11 +146,13 @@ instance Monoid BuildInfo where otherExtensions = [], oldExtensions = [], extraLibs = [], + extraLibsStatic = [], extraGHCiLibs = [], extraBundledLibs = [], extraLibFlavours = [], extraDynLibFlavours = [], extraLibDirs = [], + extraLibDirsStatic = [], includeDirs = [], includes = [], autogenIncludes = [], @@ -193,11 +197,13 @@ instance Semigroup BuildInfo where otherExtensions = combineNub otherExtensions, oldExtensions = combineNub oldExtensions, extraLibs = combine extraLibs, + extraLibsStatic = combine extraLibsStatic, extraGHCiLibs = combine extraGHCiLibs, extraBundledLibs = combine extraBundledLibs, extraLibFlavours = combine extraLibFlavours, extraDynLibFlavours = combine extraDynLibFlavours, extraLibDirs = combineNub extraLibDirs, + extraLibDirsStatic = combineNub extraLibDirsStatic, includeDirs = combineNub includeDirs, includes = combineNub includes, autogenIncludes = combineNub autogenIncludes, diff --git a/Cabal/src/Distribution/Types/BuildInfo/Lens.hs b/Cabal/src/Distribution/Types/BuildInfo/Lens.hs index 074e9ba54d3..b3d558a9412 100644 --- a/Cabal/src/Distribution/Types/BuildInfo/Lens.hs +++ b/Cabal/src/Distribution/Types/BuildInfo/Lens.hs @@ -137,6 +137,10 @@ class HasBuildInfo a where extraLibs = buildInfo . extraLibs {-# INLINE extraLibs #-} + extraLibsStatic :: Lens' a [String] + extraLibsStatic = buildInfo . extraLibsStatic + {-# INLINE extraLibsStatic #-} + extraGHCiLibs :: Lens' a [String] extraGHCiLibs = buildInfo . extraGHCiLibs {-# INLINE extraGHCiLibs #-} @@ -157,6 +161,10 @@ class HasBuildInfo a where extraLibDirs = buildInfo . extraLibDirs {-# INLINE extraLibDirs #-} + extraLibDirsStatic :: Lens' a [String] + extraLibDirsStatic = buildInfo . extraLibDirsStatic + {-# INLINE extraLibDirsStatic #-} + includeDirs :: Lens' a [FilePath] includeDirs = buildInfo . includeDirs {-# INLINE includeDirs #-} @@ -290,6 +298,9 @@ instance HasBuildInfo BuildInfo where extraLibs f s = fmap (\x -> s { T.extraLibs = x }) (f (T.extraLibs s)) {-# INLINE extraLibs #-} + extraLibsStatic f s = fmap (\x -> s { T.extraLibsStatic = x}) (f (T.extraLibsStatic s)) + {-# INLINE extraLibsStatic #-} + extraGHCiLibs f s = fmap (\x -> s { T.extraGHCiLibs = x }) (f (T.extraGHCiLibs s)) {-# INLINE extraGHCiLibs #-} @@ -305,6 +316,9 @@ instance HasBuildInfo BuildInfo where extraLibDirs f s = fmap (\x -> s { T.extraLibDirs = x }) (f (T.extraLibDirs s)) {-# INLINE extraLibDirs #-} + extraLibDirsStatic f s = fmap (\x -> s { T.extraLibDirsStatic = x}) (f (T.extraLibDirsStatic s)) + {-# INLINE extraLibDirsStatic #-} + includeDirs f s = fmap (\x -> s { T.includeDirs = x }) (f (T.includeDirs s)) {-# INLINE includeDirs #-} diff --git a/Cabal/src/Distribution/Types/InstalledPackageInfo.hs b/Cabal/src/Distribution/Types/InstalledPackageInfo.hs index f34da35c345..0d047db5590 100644 --- a/Cabal/src/Distribution/Types/InstalledPackageInfo.hs +++ b/Cabal/src/Distribution/Types/InstalledPackageInfo.hs @@ -72,10 +72,12 @@ data InstalledPackageInfo trusted :: Bool, importDirs :: [FilePath], libraryDirs :: [FilePath], + libraryDirsStatic :: [FilePath], libraryDynDirs :: [FilePath], -- ^ overrides 'libraryDirs' dataDir :: FilePath, hsLibraries :: [String], extraLibraries :: [String], + extraLibrariesStatic :: [String], extraGHCiLibraries:: [String], -- overrides extraLibraries for GHCi includeDirs :: [FilePath], includes :: [String], @@ -152,10 +154,12 @@ emptyInstalledPackageInfo trusted = False, importDirs = [], libraryDirs = [], + libraryDirsStatic = [], libraryDynDirs = [], dataDir = "", hsLibraries = [], extraLibraries = [], + extraLibrariesStatic = [], extraGHCiLibraries= [], includeDirs = [], includes = [], diff --git a/Cabal/src/Distribution/Types/InstalledPackageInfo/FieldGrammar.hs b/Cabal/src/Distribution/Types/InstalledPackageInfo/FieldGrammar.hs index cf79e45f40a..f176ea01187 100644 --- a/Cabal/src/Distribution/Types/InstalledPackageInfo/FieldGrammar.hs +++ b/Cabal/src/Distribution/Types/InstalledPackageInfo/FieldGrammar.hs @@ -102,10 +102,12 @@ ipiFieldGrammar = mkInstalledPackageInfo <@> booleanFieldDef "trusted" L.trusted False <@> monoidalFieldAla "import-dirs" (alaList' FSep FilePathNT) L.importDirs <@> monoidalFieldAla "library-dirs" (alaList' FSep FilePathNT) L.libraryDirs + <@> monoidalFieldAla "library-dirs-static" (alaList' FSep FilePathNT) L.libraryDirsStatic <@> monoidalFieldAla "dynamic-library-dirs" (alaList' FSep FilePathNT) L.libraryDynDirs <@> optionalFieldDefAla "data-dir" FilePathNT L.dataDir "" <@> monoidalFieldAla "hs-libraries" (alaList' FSep Token) L.hsLibraries <@> monoidalFieldAla "extra-libraries" (alaList' FSep Token) L.extraLibraries + <@> monoidalFieldAla "extra-libraries-static" (alaList' FSep Token) L.extraLibrariesStatic <@> monoidalFieldAla "extra-ghci-libraries" (alaList' FSep Token) L.extraGHCiLibraries <@> monoidalFieldAla "include-dirs" (alaList' FSep FilePathNT) L.includeDirs <@> monoidalFieldAla "includes" (alaList' FSep FilePathNT) L.includes diff --git a/Cabal/src/Distribution/Types/InstalledPackageInfo/Lens.hs b/Cabal/src/Distribution/Types/InstalledPackageInfo/Lens.hs index 75985c8ee1e..9d1df886370 100644 --- a/Cabal/src/Distribution/Types/InstalledPackageInfo/Lens.hs +++ b/Cabal/src/Distribution/Types/InstalledPackageInfo/Lens.hs @@ -116,6 +116,10 @@ libraryDirs :: Lens' InstalledPackageInfo [FilePath] libraryDirs f s = fmap (\x -> s { T.libraryDirs = x }) (f (T.libraryDirs s)) {-# INLINE libraryDirs #-} +libraryDirsStatic :: Lens' InstalledPackageInfo [FilePath] +libraryDirsStatic f s = fmap (\x -> s { T.libraryDirsStatic = x }) (f (T.libraryDirsStatic s)) +{-# INLINE libraryDirsStatic #-} + libraryDynDirs :: Lens' InstalledPackageInfo [FilePath] libraryDynDirs f s = fmap (\x -> s { T.libraryDynDirs = x }) (f (T.libraryDynDirs s)) {-# INLINE libraryDynDirs #-} @@ -132,6 +136,10 @@ extraLibraries :: Lens' InstalledPackageInfo [String] extraLibraries f s = fmap (\x -> s { T.extraLibraries = x }) (f (T.extraLibraries s)) {-# INLINE extraLibraries #-} +extraLibrariesStatic :: Lens' InstalledPackageInfo [String] +extraLibrariesStatic f s = fmap (\x -> s { T.extraLibrariesStatic = x }) (f (T.extraLibrariesStatic s)) +{-# INLINE extraLibrariesStatic #-} + extraGHCiLibraries :: Lens' InstalledPackageInfo [String] extraGHCiLibraries f s = fmap (\x -> s { T.extraGHCiLibraries = x }) (f (T.extraGHCiLibraries s)) {-# INLINE extraGHCiLibraries #-} diff --git a/cabal-install/src/Distribution/Client/Config.hs b/cabal-install/src/Distribution/Client/Config.hs index 90815035e8d..1c2df3dc713 100644 --- a/cabal-install/src/Distribution/Client/Config.hs +++ b/cabal-install/src/Distribution/Client/Config.hs @@ -376,6 +376,7 @@ instance Semigroup SavedConfig where configScratchDir = combine configScratchDir, -- TODO: NubListify configExtraLibDirs = lastNonEmpty configExtraLibDirs, + configExtraLibDirsStatic = lastNonEmpty configExtraLibDirsStatic, -- TODO: NubListify configExtraFrameworkDirs = lastNonEmpty configExtraFrameworkDirs, -- TODO: NubListify @@ -1177,6 +1178,8 @@ parseConfig src initial = \str -> do (fromNubList $ configProgramPathExtra scf) , configExtraLibDirs = splitMultiPath (configExtraLibDirs scf) + , configExtraLibDirsStatic = splitMultiPath + (configExtraLibDirsStatic scf) , configExtraFrameworkDirs = splitMultiPath (configExtraFrameworkDirs scf) , configExtraIncludeDirs = splitMultiPath diff --git a/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs b/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs index d6f3924df85..0aca7ac2a4a 100644 --- a/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs +++ b/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs @@ -428,6 +428,7 @@ convertLegacyPerPackageFlags configFlags installFlags configStripExes = packageConfigStripExes, configStripLibs = packageConfigStripLibs, configExtraLibDirs = packageConfigExtraLibDirs, + configExtraLibDirsStatic = packageConfigExtraLibDirsStatic, configExtraFrameworkDirs = packageConfigExtraFrameworkDirs, configExtraIncludeDirs = packageConfigExtraIncludeDirs, configConfigurationsFlags = packageConfigFlagAssignment, @@ -705,6 +706,7 @@ convertToLegacyAllPackageConfig configStripExes = mempty, configStripLibs = mempty, configExtraLibDirs = mempty, + configExtraLibDirsStatic = mempty, configExtraFrameworkDirs = mempty, configConstraints = mempty, configDependencies = mempty, @@ -777,6 +779,7 @@ convertToLegacyPerPackageConfig PackageConfig {..} = configStripExes = packageConfigStripExes, configStripLibs = packageConfigStripLibs, configExtraLibDirs = packageConfigExtraLibDirs, + configExtraLibDirsStatic = packageConfigExtraLibDirsStatic, configExtraFrameworkDirs = packageConfigExtraFrameworkDirs, configConstraints = mempty, configDependencies = mempty, @@ -1060,6 +1063,10 @@ legacyPackageConfigFieldDescrs = showTokenQ parseTokenQ configExtraLibDirs (\v conf -> conf { configExtraLibDirs = v }) + , newLineListField "extra-lib-dirs-static" + showTokenQ parseTokenQ + configExtraLibDirsStatic + (\v conf -> conf { configExtraLibDirsStatic = v }) , newLineListField "extra-framework-dirs" showTokenQ parseTokenQ configExtraFrameworkDirs diff --git a/cabal-install/src/Distribution/Client/ProjectConfig/Types.hs b/cabal-install/src/Distribution/Client/ProjectConfig/Types.hs index aaa25df9eaa..e5d18273dca 100644 --- a/cabal-install/src/Distribution/Client/ProjectConfig/Types.hs +++ b/cabal-install/src/Distribution/Client/ProjectConfig/Types.hs @@ -258,6 +258,7 @@ data PackageConfig packageConfigProgPrefix :: Flag PathTemplate, packageConfigProgSuffix :: Flag PathTemplate, packageConfigExtraLibDirs :: [FilePath], + packageConfigExtraLibDirsStatic :: [FilePath], packageConfigExtraFrameworkDirs :: [FilePath], packageConfigExtraIncludeDirs :: [FilePath], packageConfigGHCiLib :: Flag Bool, diff --git a/cabal-install/src/Distribution/Client/ProjectPlanning.hs b/cabal-install/src/Distribution/Client/ProjectPlanning.hs index fc6d9a17383..43e7568c82f 100644 --- a/cabal-install/src/Distribution/Client/ProjectPlanning.hs +++ b/cabal-install/src/Distribution/Client/ProjectPlanning.hs @@ -1851,6 +1851,7 @@ elaborateInstallPlan verbosity platform compiler compilerprogdb pkgConfigDB elabProgramPathExtra = perPkgOptionNubList pkgid packageConfigProgramPathExtra elabConfigureScriptArgs = perPkgOptionList pkgid packageConfigConfigureArgs elabExtraLibDirs = perPkgOptionList pkgid packageConfigExtraLibDirs + elabExtraLibDirsStatic = perPkgOptionList pkgid packageConfigExtraLibDirsStatic elabExtraFrameworkDirs = perPkgOptionList pkgid packageConfigExtraFrameworkDirs elabExtraIncludeDirs = perPkgOptionList pkgid packageConfigExtraIncludeDirs elabProgPrefix = perPkgOptionMaybe pkgid packageConfigProgPrefix @@ -3464,6 +3465,7 @@ setupHsConfigureFlags (ReadyPackage elab@ElaboratedConfiguredPackage{..}) configConfigurationsFlags = elabFlagAssignment configConfigureArgs = elabConfigureScriptArgs configExtraLibDirs = elabExtraLibDirs + configExtraLibDirsStatic = elabExtraLibDirsStatic configExtraFrameworkDirs = elabExtraFrameworkDirs configExtraIncludeDirs = elabExtraIncludeDirs configProgPrefix = maybe mempty toFlag elabProgPrefix diff --git a/cabal-install/src/Distribution/Client/ProjectPlanning/Types.hs b/cabal-install/src/Distribution/Client/ProjectPlanning/Types.hs index 0388886ecde..d1264112f2d 100644 --- a/cabal-install/src/Distribution/Client/ProjectPlanning/Types.hs +++ b/cabal-install/src/Distribution/Client/ProjectPlanning/Types.hs @@ -267,6 +267,7 @@ data ElaboratedConfiguredPackage elabProgramPathExtra :: [FilePath], elabConfigureScriptArgs :: [String], elabExtraLibDirs :: [FilePath], + elabExtraLibDirsStatic :: [FilePath], elabExtraFrameworkDirs :: [FilePath], elabExtraIncludeDirs :: [FilePath], elabProgPrefix :: Maybe PathTemplate, diff --git a/cabal-install/src/Distribution/Client/Setup.hs b/cabal-install/src/Distribution/Client/Setup.hs index c710b4a384e..13cd1001fbc 100644 --- a/cabal-install/src/Distribution/Client/Setup.hs +++ b/cabal-install/src/Distribution/Client/Setup.hs @@ -470,6 +470,7 @@ filterConfigureFlags flags cabalLibVersion | cabalLibVersion < mkVersion [1,25,0] = flags_1_25_0 | cabalLibVersion < mkVersion [2,1,0] = flags_2_1_0 | cabalLibVersion < mkVersion [2,5,0] = flags_2_5_0 + | cabalLibVersion < mkVersion [3,7,0] = flags_3_7_0 | otherwise = error "the impossible just happened" -- see first guard where flags_latest = flags { @@ -480,7 +481,12 @@ filterConfigureFlags flags cabalLibVersion configConstraints = [] } - flags_2_5_0 = flags_latest { + flags_3_7_0 = flags_latest { + -- Cabal < 3.7 does not know about --extra-lib-dirs-static + configExtraLibDirsStatic = [] + } + + flags_2_5_0 = flags_3_7_0 { -- Cabal < 2.5 does not understand --dependency=pkg:component=cid -- (public sublibraries), so we convert it to the legacy -- --dependency=pkg_or_internal_compoent=cid diff --git a/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs b/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs index 3681ac1d900..95b7e1ccb79 100644 --- a/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs +++ b/cabal-install/tests/UnitTests/Distribution/Client/ProjectConfig.hs @@ -553,6 +553,7 @@ instance Arbitrary PackageConfig where <*> shortListOf 5 arbitraryShortToken <*> shortListOf 5 arbitraryShortToken <*> shortListOf 5 arbitraryShortToken + <*> shortListOf 5 arbitraryShortToken <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary @@ -604,6 +605,7 @@ instance Arbitrary PackageConfig where , packageConfigProgPrefix = x14 , packageConfigProgSuffix = x15 , packageConfigExtraLibDirs = x16 + , packageConfigExtraLibDirsStatic = x53 , packageConfigExtraFrameworkDirs = x17 , packageConfigExtraIncludeDirs = x18 , packageConfigGHCiLib = x19 @@ -659,6 +661,7 @@ instance Arbitrary PackageConfig where , packageConfigProgPrefix = x14' , packageConfigProgSuffix = x15' , packageConfigExtraLibDirs = map getNonEmpty x16' + , packageConfigExtraLibDirsStatic = map getNonEmpty x53' , packageConfigExtraFrameworkDirs = map getNonEmpty x17' , packageConfigExtraIncludeDirs = map getNonEmpty x18' , packageConfigGHCiLib = x19' @@ -698,7 +701,7 @@ instance Arbitrary PackageConfig where | (((x00', x01', x02', x03', x04'), (x05', x42', x06', x50', x07', x08', x09'), (x10', x11', x12', x13', x14'), - (x15', x16', x17', x18', x19')), + (x15', x16', x53', x17', x18', x19')), ((x20', x20_1', x21', x22', x23', x24'), (x25', x26', x27', x28', x29'), (x30', x31', x32', (x33', x33_1'), x34'), @@ -709,7 +712,7 @@ instance Arbitrary PackageConfig where (((preShrink_Paths x00, preShrink_Args x01, x02, x03, x04), (x05, x42, x06, x50, x07, x08, x09), (x10, x11, map NonEmpty x12, x13, x14), - (x15, map NonEmpty x16, + (x15, map NonEmpty x16, map NonEmpty x53, map NonEmpty x17, map NonEmpty x18, x19)), diff --git a/doc/cabal-package.rst b/doc/cabal-package.rst index 8237ea5b5ce..41466e61c3b 100644 --- a/doc/cabal-package.rst +++ b/doc/cabal-package.rst @@ -2056,7 +2056,13 @@ system-dependent values for these fields. .. pkg-field:: extra-libraries: token list - A list of extra libraries to link with. + A list of extra libraries to link with (when not linking fully static + executables). + +.. pkg-field:: extra-libraries-static: token list + + A list of extra libraries to link with (when linking fully static + executables). .. pkg-field:: extra-ghci-libraries: token list @@ -2084,7 +2090,13 @@ system-dependent values for these fields. .. pkg-field:: extra-lib-dirs: directory list - A list of directories to search for libraries. + A list of directories to search for libraries (when not linking fully static + executables). + +.. pkg-field:: extra-lib-dirs-static: directory list + + A list of directories to search for libraries (when linking fully static + executables). .. pkg-field:: extra-library-flavours: notsure diff --git a/doc/file-format-changelog.rst b/doc/file-format-changelog.rst index 52116db5879..cffa4edd578 100644 --- a/doc/file-format-changelog.rst +++ b/doc/file-format-changelog.rst @@ -19,6 +19,21 @@ relative to the respective preceding *published* version. versions of the ``Cabal`` library denote unreleased development branches which have no stability guarantee. +``cabal-version: 3.x`` +---------------------- + +* Added fields :pkg-field:`extra-libraries-static` and + :pkg-field:`extra-lib-dirs-static` to allow Haskell libraries to remember + linker flags needed for fully static linking of system libraries into + executables. + The existing field :pkg-field:`pkgconfig-depends` can used to append + the relevant output of ``pkg-config --libs --static`` to these new fields + automatically. + When :pkg-field:`extra-libraries-static` is not given, it defaults to + :pkg-field:`extra-libraries`. + When :pkg-field:`extra-lib-dirs-static` is not given, it defaults to + :pkg-field:`extra-lib-dirs`. + ``cabal-version: 3.6`` ---------------------- From b6f4ad4c7a306ee354cf9d5be95d9ebe3d913af5 Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Thu, 12 Aug 2021 22:18:41 +0200 Subject: [PATCH 3/6] Accept Tests --- .../tests/ParserTests/ipi/Includes2.expr | 150 +- .../ipi/internal-preprocessor-test.expr | 124 +- .../ParserTests/ipi/issue-2276-ghc-9885.expr | 4317 ++-- .../tests/ParserTests/ipi/transformers.expr | 317 +- .../ParserTests/regressions/anynone.expr | 223 +- .../ParserTests/regressions/big-version.expr | 207 +- .../ParserTests/regressions/hasktorch.expr | 20028 ++++++++-------- .../ParserTests/regressions/issue-5846.expr | 351 +- .../ParserTests/regressions/issue-6083-a.expr | 707 +- .../ParserTests/regressions/issue-6083-b.expr | 724 +- .../ParserTests/regressions/issue-6083-c.expr | 385 +- .../regressions/issue-6083-pkg-pkg.expr | 241 +- .../tests/ParserTests/regressions/libpq1.expr | 1450 +- .../tests/ParserTests/regressions/libpq2.expr | 1453 +- .../ParserTests/regressions/monad-param.expr | 301 +- 15 files changed, 15849 insertions(+), 15129 deletions(-) diff --git a/Cabal-tests/tests/ParserTests/ipi/Includes2.expr b/Cabal-tests/tests/ParserTests/ipi/Includes2.expr index b8fa9b1f632..9c15199c79f 100644 --- a/Cabal-tests/tests/ParserTests/ipi/Includes2.expr +++ b/Cabal-tests/tests/ParserTests/ipi/Includes2.expr @@ -1,58 +1,92 @@ -InstalledPackageInfo - {abiDepends = [AbiDependency - {depAbiHash = AbiHash "35a7f6be752ee4f7385cb5bf28677879", - depUnitId = UnitId "base-4.10.1.0"}, - AbiDependency - {depAbiHash = AbiHash "inplace", - depUnitId = UnitId "Includes2-0.1.0.0-inplace-mysql"}], - abiHash = AbiHash "inplace", - author = "Edward Z. Yang", - category = "", - ccOptions = [], - compatPackageKey = "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", - copyright = "", - cxxOptions = [], - dataDir = "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2", - depends = [UnitId "base-4.10.1.0", - UnitId "Includes2-0.1.0.0-inplace-mysql"], - description = "", - exposed = False, - exposedModules = [ExposedModule - {exposedName = ModuleName "Mine", exposedReexport = Nothing}], - extraGHCiLibraries = [], - extraLibraries = [], - frameworkDirs = [], - frameworks = [], - haddockHTMLs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"], - haddockInterfaces = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"], - hiddenModules = [], - homepage = "", - hsLibraries = ["HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], - importDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], - includeDirs = [], - includes = [], - indefinite = False, - installedComponentId_ = ComponentId "", - installedUnitId = UnitId - "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", - instantiatedWith = [_×_ - (ModuleName "Database") - (OpenModule - (DefiniteUnitId - (DefUnitId (UnitId "Includes2-0.1.0.0-inplace-mysql"))) - (ModuleName "Database.MySQL"))], - ldOptions = [], - libVisibility = LibraryVisibilityPrivate, - libraryDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], - libraryDynDirs = ["/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], - license = Right BSD3, - maintainer = "ezyang@cs.stanford.edu", - pkgRoot = Nothing, - pkgUrl = "", - sourceLibName = LSubLibName (UnqualComponentName "mylib"), - sourcePackageId = PackageIdentifier - {pkgName = PackageName "Includes2", - pkgVersion = mkVersion [0, 1, 0, 0]}, - stability = "", - synopsis = "", - trusted = False} +InstalledPackageInfo { + sourcePackageId = + PackageIdentifier { + pkgName = PackageName + "Includes2", + pkgVersion = mkVersion + [0, 1, 0, 0]}, + sourceLibName = LSubLibName + (UnqualComponentName "mylib"), + installedComponentId_ = + ComponentId "", + libVisibility = + LibraryVisibilityPrivate, + installedUnitId = UnitId + "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", + instantiatedWith = [ + _×_ + (ModuleName "Database") + (OpenModule + (DefiniteUnitId + (DefUnitId + (UnitId + "Includes2-0.1.0.0-inplace-mysql"))) + (ModuleName "Database.MySQL"))], + compatPackageKey = + "Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n", + license = Right BSD3, + copyright = "", + maintainer = + "ezyang@cs.stanford.edu", + author = "Edward Z. Yang", + stability = "", + homepage = "", + pkgUrl = "", + synopsis = "", + description = "", + category = "", + abiHash = AbiHash "inplace", + indefinite = False, + exposed = False, + exposedModules = [ + ExposedModule { + exposedName = ModuleName "Mine", + exposedReexport = Nothing}], + hiddenModules = [], + trusted = False, + importDirs = + [ + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], + libraryDirs = + [ + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], + libraryDirsStatic = [], + libraryDynDirs = + [ + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/build/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], + dataDir = + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2", + hsLibraries = [ + "HSIncludes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n"], + extraLibraries = [], + extraLibrariesStatic = [], + extraGHCiLibraries = [], + includeDirs = [], + includes = [], + depends = [ + UnitId "base-4.10.1.0", + UnitId + "Includes2-0.1.0.0-inplace-mysql"], + abiDepends = [ + AbiDependency { + depUnitId = UnitId + "base-4.10.1.0", + depAbiHash = AbiHash + "35a7f6be752ee4f7385cb5bf28677879"}, + AbiDependency { + depUnitId = UnitId + "Includes2-0.1.0.0-inplace-mysql", + depAbiHash = AbiHash + "inplace"}], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + frameworkDirs = [], + frameworks = [], + haddockInterfaces = + [ + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2/Includes2.haddock"], + haddockHTMLs = + [ + "/home/travis/build/haskell/cabal/cabal-testsuite/PackageTests/Backpack/Includes2/cabal-internal.dist/work/./dist/build/x86_64-linux/ghc-8.2.2/Includes2-0.1.0.0/l/mylib/Includes2-0.1.0.0-inplace-mylib+3gY9SyjX86dBypHcOaev1n/doc/html/Includes2"], + pkgRoot = Nothing} diff --git a/Cabal-tests/tests/ParserTests/ipi/internal-preprocessor-test.expr b/Cabal-tests/tests/ParserTests/ipi/internal-preprocessor-test.expr index 6fb0aaa92f2..42a593f2540 100644 --- a/Cabal-tests/tests/ParserTests/ipi/internal-preprocessor-test.expr +++ b/Cabal-tests/tests/ParserTests/ipi/internal-preprocessor-test.expr @@ -1,48 +1,76 @@ -InstalledPackageInfo - {abiDepends = [], - abiHash = AbiHash "", - author = "Mikhail Glushenkov", - category = "Testing", - ccOptions = [], - compatPackageKey = "internal-preprocessor-test-0.1.0.0", - copyright = "", - cxxOptions = [], - dataDir = "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess", - depends = [UnitId "base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d"], - description = "See https://github.com/haskell/cabal/issues/1541#issuecomment-30155513", - exposed = True, - exposedModules = [ExposedModule - {exposedName = ModuleName "A", exposedReexport = Nothing}], - extraGHCiLibraries = [], - extraLibraries = [], - frameworkDirs = [], - frameworks = [], - haddockHTMLs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test"], - haddockInterfaces = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test/internal-preprocessor-test.haddock"], - hiddenModules = [], - homepage = "", - hsLibraries = ["HSinternal-preprocessor-test-0.1.0.0"], - importDirs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], - includeDirs = [], - includes = [], - indefinite = False, - installedComponentId_ = ComponentId "", - installedUnitId = UnitId "internal-preprocessor-test-0.1.0.0", - instantiatedWith = [], - ldOptions = [], - libVisibility = LibraryVisibilityPublic, - libraryDirs = ["/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build", - "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], - libraryDynDirs = [], - license = Right (GPL (Just (mkVersion [3]))), - maintainer = "mikhail.glushenkov@gmail.com", - pkgRoot = Just - "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist", - pkgUrl = "", - sourceLibName = LMainLibName, - sourcePackageId = PackageIdentifier - {pkgName = PackageName "internal-preprocessor-test", - pkgVersion = mkVersion [0, 1, 0, 0]}, - stability = "", - synopsis = "Internal custom preprocessor example.", - trusted = False} +InstalledPackageInfo { + sourcePackageId = + PackageIdentifier { + pkgName = PackageName + "internal-preprocessor-test", + pkgVersion = mkVersion + [0, 1, 0, 0]}, + sourceLibName = LMainLibName, + installedComponentId_ = + ComponentId "", + libVisibility = + LibraryVisibilityPublic, + installedUnitId = UnitId + "internal-preprocessor-test-0.1.0.0", + instantiatedWith = [], + compatPackageKey = + "internal-preprocessor-test-0.1.0.0", + license = Right + (GPL (Just (mkVersion [3]))), + copyright = "", + maintainer = + "mikhail.glushenkov@gmail.com", + author = "Mikhail Glushenkov", + stability = "", + homepage = "", + pkgUrl = "", + synopsis = + "Internal custom preprocessor example.", + description = + "See https://github.com/haskell/cabal/issues/1541#issuecomment-30155513", + category = "Testing", + abiHash = AbiHash "", + indefinite = False, + exposed = True, + exposedModules = [ + ExposedModule { + exposedName = ModuleName "A", + exposedReexport = Nothing}], + hiddenModules = [], + trusted = False, + importDirs = + [ + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], + libraryDirs = + [ + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build", + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/build"], + libraryDirsStatic = [], + libraryDynDirs = [], + dataDir = + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess", + hsLibraries = [ + "HSinternal-preprocessor-test-0.1.0.0"], + extraLibraries = [], + extraLibrariesStatic = [], + extraGHCiLibraries = [], + includeDirs = [], + includes = [], + depends = [ + UnitId + "base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d"], + abiDepends = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + frameworkDirs = [], + frameworks = [], + haddockInterfaces = + [ + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test/internal-preprocessor-test.haddock"], + haddockHTMLs = + [ + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist/doc/html/internal-preprocessor-test"], + pkgRoot = + Just + "/home/ogre/Documents/other-haskell/cabal/cabal-testsuite/PackageTests/CustomPreProcess/setup.dist/work/dist"} diff --git a/Cabal-tests/tests/ParserTests/ipi/issue-2276-ghc-9885.expr b/Cabal-tests/tests/ParserTests/ipi/issue-2276-ghc-9885.expr index 5f1f822104d..f2d62e05938 100644 --- a/Cabal-tests/tests/ParserTests/ipi/issue-2276-ghc-9885.expr +++ b/Cabal-tests/tests/ParserTests/ipi/issue-2276-ghc-9885.expr @@ -1,2133 +1,2184 @@ -InstalledPackageInfo - {abiDepends = [AbiDependency - {depAbiHash = AbiHash "35a7f6be752ee4f7385cb5bf28677879", - depUnitId = UnitId "base-4.10.1.0"}], - abiHash = AbiHash "e04579c0363c9229351d1a0b394bf2d5", - author = "Andy Gill, Ross Paterson", - category = "Control", - ccOptions = [], - compatPackageKey = "transformers-0.5.2.0", - copyright = "", - cxxOptions = [], - dataDir = "/opt/ghc/8.2.2/share/x86_64-linux-ghc-8.2.2/transformers-0.5.2.0", - depends = [UnitId "base-4.10.1.0"], - description = concat - ["A portable library of functor and monad transformers, inspired by\n", - "the paper \\\"Functional Programming with Overloading and Higher-Order\n", - "Polymorphism\\\", by Mark P Jones,\n", - "in /Advanced School of Functional Programming/, 1995\n", - "().\n", - ".\n", - "This package contains:\n", - ".\n", - "* the monad transformer class (in \"Control.Monad.Trans.Class\")\n", - "and IO monad class (in \"Control.Monad.IO.Class\")\n", - ".\n", - "* concrete functor and monad transformers, each with associated\n", - "operations and functions to lift operations associated with other\n", - "transformers.\n", - ".\n", - "The package can be used on its own in portable Haskell code, in\n", - "which case operations need to be manually lifted through transformer\n", - "stacks (see \"Control.Monad.Trans.Class\" for some examples).\n", - "Alternatively, it can be used with the non-portable monad classes in\n", - "the @mtl@ or @monads-tf@ packages, which automatically lift operations\n", - "introduced by monad transformers through other transformers."], - exposed = True, - exposedModules = [ExposedModule - {exposedName = ModuleName "Control.Applicative.Backwards", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Applicative.Lift", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Signatures", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Class", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Cont", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Error", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Except", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Identity", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.List", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Maybe", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Reader", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Data.Functor.Constant", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Data.Functor.Reverse", - exposedReexport = Nothing}], - extraGHCiLibraries = [], - extraLibraries = [], - frameworkDirs = [], - frameworks = [], - haddockHTMLs = ["/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0"], - haddockInterfaces = ["/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0/transformers.haddock"], - hiddenModules = [], - homepage = "", - hsLibraries = ["HStransformers-0.5.2.0"], - importDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - includeDirs = [], - includes = [], - indefinite = False, - installedComponentId_ = ComponentId "", - installedUnitId = UnitId "transformers-0.5.2.0", - instantiatedWith = [], - ldOptions = ["-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm", - "-lm"], - libVisibility = LibraryVisibilityPublic, - libraryDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - libraryDynDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - license = Right BSD3, - maintainer = "Ross Paterson ", - pkgRoot = Nothing, - pkgUrl = "", - sourceLibName = LMainLibName, - sourcePackageId = PackageIdentifier - {pkgName = PackageName "transformers", - pkgVersion = mkVersion [0, 5, 2, 0]}, - stability = "", - synopsis = "Concrete functor and monad transformers", - trusted = False} +InstalledPackageInfo { + sourcePackageId = + PackageIdentifier { + pkgName = PackageName + "transformers", + pkgVersion = mkVersion + [0, 5, 2, 0]}, + sourceLibName = LMainLibName, + installedComponentId_ = + ComponentId "", + libVisibility = + LibraryVisibilityPublic, + installedUnitId = UnitId + "transformers-0.5.2.0", + instantiatedWith = [], + compatPackageKey = + "transformers-0.5.2.0", + license = Right BSD3, + copyright = "", + maintainer = + "Ross Paterson ", + author = + "Andy Gill, Ross Paterson", + stability = "", + homepage = "", + pkgUrl = "", + synopsis = + "Concrete functor and monad transformers", + description = + concat + [ + "A portable library of functor and monad transformers, inspired by\n", + "the paper \\\"Functional Programming with Overloading and Higher-Order\n", + "Polymorphism\\\", by Mark P Jones,\n", + "in /Advanced School of Functional Programming/, 1995\n", + "().\n", + ".\n", + "This package contains:\n", + ".\n", + "* the monad transformer class (in \"Control.Monad.Trans.Class\")\n", + "and IO monad class (in \"Control.Monad.IO.Class\")\n", + ".\n", + "* concrete functor and monad transformers, each with associated\n", + "operations and functions to lift operations associated with other\n", + "transformers.\n", + ".\n", + "The package can be used on its own in portable Haskell code, in\n", + "which case operations need to be manually lifted through transformer\n", + "stacks (see \"Control.Monad.Trans.Class\" for some examples).\n", + "Alternatively, it can be used with the non-portable monad classes in\n", + "the @mtl@ or @monads-tf@ packages, which automatically lift operations\n", + "introduced by monad transformers through other transformers."], + category = "Control", + abiHash = AbiHash + "e04579c0363c9229351d1a0b394bf2d5", + indefinite = False, + exposed = True, + exposedModules = [ + ExposedModule { + exposedName = ModuleName + "Control.Applicative.Backwards", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Applicative.Lift", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Signatures", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Class", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Cont", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Error", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Except", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Identity", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.List", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Maybe", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Reader", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Data.Functor.Constant", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Data.Functor.Reverse", + exposedReexport = Nothing}], + hiddenModules = [], + trusted = False, + importDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + libraryDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + libraryDirsStatic = [], + libraryDynDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + dataDir = + "/opt/ghc/8.2.2/share/x86_64-linux-ghc-8.2.2/transformers-0.5.2.0", + hsLibraries = [ + "HStransformers-0.5.2.0"], + extraLibraries = [], + extraLibrariesStatic = [], + extraGHCiLibraries = [], + includeDirs = [], + includes = [], + depends = [ + UnitId "base-4.10.1.0"], + abiDepends = [ + AbiDependency { + depUnitId = UnitId + "base-4.10.1.0", + depAbiHash = AbiHash + "35a7f6be752ee4f7385cb5bf28677879"}], + ccOptions = [], + cxxOptions = [], + ldOptions = [ + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm", + "-lm"], + frameworkDirs = [], + frameworks = [], + haddockInterfaces = + [ + "/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0/transformers.haddock"], + haddockHTMLs = [ + "/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0"], + pkgRoot = Nothing} diff --git a/Cabal-tests/tests/ParserTests/ipi/transformers.expr b/Cabal-tests/tests/ParserTests/ipi/transformers.expr index bf85b895933..daef7608a77 100644 --- a/Cabal-tests/tests/ParserTests/ipi/transformers.expr +++ b/Cabal-tests/tests/ParserTests/ipi/transformers.expr @@ -1,133 +1,184 @@ -InstalledPackageInfo - {abiDepends = [AbiDependency - {depAbiHash = AbiHash "35a7f6be752ee4f7385cb5bf28677879", - depUnitId = UnitId "base-4.10.1.0"}], - abiHash = AbiHash "e04579c0363c9229351d1a0b394bf2d5", - author = "Andy Gill, Ross Paterson", - category = "Control", - ccOptions = [], - compatPackageKey = "transformers-0.5.2.0", - copyright = "", - cxxOptions = [], - dataDir = "/opt/ghc/8.2.2/share/x86_64-linux-ghc-8.2.2/transformers-0.5.2.0", - depends = [UnitId "base-4.10.1.0"], - description = concat - ["A portable library of functor and monad transformers, inspired by\n", - "the paper \\\"Functional Programming with Overloading and Higher-Order\n", - "Polymorphism\\\", by Mark P Jones,\n", - "in /Advanced School of Functional Programming/, 1995\n", - "().\n", - ".\n", - "This package contains:\n", - ".\n", - "* the monad transformer class (in \"Control.Monad.Trans.Class\")\n", - "and IO monad class (in \"Control.Monad.IO.Class\")\n", - ".\n", - "* concrete functor and monad transformers, each with associated\n", - "operations and functions to lift operations associated with other\n", - "transformers.\n", - ".\n", - "The package can be used on its own in portable Haskell code, in\n", - "which case operations need to be manually lifted through transformer\n", - "stacks (see \"Control.Monad.Trans.Class\" for some examples).\n", - "Alternatively, it can be used with the non-portable monad classes in\n", - "the @mtl@ or @monads-tf@ packages, which automatically lift operations\n", - "introduced by monad transformers through other transformers."], - exposed = True, - exposedModules = [ExposedModule - {exposedName = ModuleName "Control.Applicative.Backwards", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Applicative.Lift", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Signatures", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Class", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Cont", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Error", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Except", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Identity", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.List", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Maybe", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.RWS.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Reader", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.State.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer.Lazy", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Control.Monad.Trans.Writer.Strict", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Data.Functor.Constant", - exposedReexport = Nothing}, - ExposedModule - {exposedName = ModuleName "Data.Functor.Reverse", - exposedReexport = Nothing}], - extraGHCiLibraries = [], - extraLibraries = [], - frameworkDirs = [], - frameworks = [], - haddockHTMLs = ["/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0"], - haddockInterfaces = ["/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0/transformers.haddock"], - hiddenModules = [], - homepage = "", - hsLibraries = ["HStransformers-0.5.2.0"], - importDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - includeDirs = [], - includes = [], - indefinite = False, - installedComponentId_ = ComponentId "", - installedUnitId = UnitId "transformers-0.5.2.0", - instantiatedWith = [], - ldOptions = [], - libVisibility = LibraryVisibilityPublic, - libraryDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - libraryDynDirs = ["/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], - license = Right BSD3, - maintainer = "Ross Paterson ", - pkgRoot = Just "/opt/ghc/8.2.2/lib/ghc-8.2.2", - pkgUrl = "", - sourceLibName = LMainLibName, - sourcePackageId = PackageIdentifier - {pkgName = PackageName "transformers", - pkgVersion = mkVersion [0, 5, 2, 0]}, - stability = "", - synopsis = "Concrete functor and monad transformers", - trusted = False} +InstalledPackageInfo { + sourcePackageId = + PackageIdentifier { + pkgName = PackageName + "transformers", + pkgVersion = mkVersion + [0, 5, 2, 0]}, + sourceLibName = LMainLibName, + installedComponentId_ = + ComponentId "", + libVisibility = + LibraryVisibilityPublic, + installedUnitId = UnitId + "transformers-0.5.2.0", + instantiatedWith = [], + compatPackageKey = + "transformers-0.5.2.0", + license = Right BSD3, + copyright = "", + maintainer = + "Ross Paterson ", + author = + "Andy Gill, Ross Paterson", + stability = "", + homepage = "", + pkgUrl = "", + synopsis = + "Concrete functor and monad transformers", + description = + concat + [ + "A portable library of functor and monad transformers, inspired by\n", + "the paper \\\"Functional Programming with Overloading and Higher-Order\n", + "Polymorphism\\\", by Mark P Jones,\n", + "in /Advanced School of Functional Programming/, 1995\n", + "().\n", + ".\n", + "This package contains:\n", + ".\n", + "* the monad transformer class (in \"Control.Monad.Trans.Class\")\n", + "and IO monad class (in \"Control.Monad.IO.Class\")\n", + ".\n", + "* concrete functor and monad transformers, each with associated\n", + "operations and functions to lift operations associated with other\n", + "transformers.\n", + ".\n", + "The package can be used on its own in portable Haskell code, in\n", + "which case operations need to be manually lifted through transformer\n", + "stacks (see \"Control.Monad.Trans.Class\" for some examples).\n", + "Alternatively, it can be used with the non-portable monad classes in\n", + "the @mtl@ or @monads-tf@ packages, which automatically lift operations\n", + "introduced by monad transformers through other transformers."], + category = "Control", + abiHash = AbiHash + "e04579c0363c9229351d1a0b394bf2d5", + indefinite = False, + exposed = True, + exposedModules = [ + ExposedModule { + exposedName = ModuleName + "Control.Applicative.Backwards", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Applicative.Lift", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Signatures", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Class", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Cont", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Error", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Except", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Identity", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.List", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Maybe", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.RWS.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Reader", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.State.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer.Lazy", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Control.Monad.Trans.Writer.Strict", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Data.Functor.Constant", + exposedReexport = Nothing}, + ExposedModule { + exposedName = ModuleName + "Data.Functor.Reverse", + exposedReexport = Nothing}], + hiddenModules = [], + trusted = False, + importDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + libraryDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + libraryDirsStatic = [], + libraryDynDirs = [ + "/opt/ghc/8.2.2/lib/ghc-8.2.2/transformers-0.5.2.0"], + dataDir = + "/opt/ghc/8.2.2/share/x86_64-linux-ghc-8.2.2/transformers-0.5.2.0", + hsLibraries = [ + "HStransformers-0.5.2.0"], + extraLibraries = [], + extraLibrariesStatic = [], + extraGHCiLibraries = [], + includeDirs = [], + includes = [], + depends = [ + UnitId "base-4.10.1.0"], + abiDepends = [ + AbiDependency { + depUnitId = UnitId + "base-4.10.1.0", + depAbiHash = AbiHash + "35a7f6be752ee4f7385cb5bf28677879"}], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + frameworkDirs = [], + frameworks = [], + haddockInterfaces = + [ + "/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0/transformers.haddock"], + haddockHTMLs = [ + "/opt/ghc/8.2.2/share/doc/ghc-8.2.2/html/libraries/transformers-0.5.2.0"], + pkgRoot = Just + "/opt/ghc/8.2.2/lib/ghc-8.2.2"} diff --git a/Cabal-tests/tests/ParserTests/regressions/anynone.expr b/Cabal-tests/tests/ParserTests/regressions/anynone.expr index 9b96694836f..17e61add696 100644 --- a/Cabal-tests/tests/ParserTests/regressions/anynone.expr +++ b/Cabal-tests/tests/ParserTests/regressions/anynone.expr @@ -1,106 +1,117 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "AnyNone"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Just Simple, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "anynone", - pkgVersion = mkVersion [0]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "The -any none demo", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName "anynone", + pkgVersion = mkVersion [0]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "The -any none demo", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Just Simple, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [ + ModuleName "AnyNone"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/big-version.expr b/Cabal-tests/tests/ParserTests/regressions/big-version.expr index ab343e15238..943e723c191 100644 --- a/Cabal-tests/tests/ParserTests/regressions/big-version.expr +++ b/Cabal-tests/tests/ParserTests/regressions/big-version.expr @@ -1,97 +1,110 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "big-version", - pkgVersion = mkVersion [123456789]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName + "big-version", + pkgVersion = mkVersion + [123456789]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/hasktorch.expr b/Cabal-tests/tests/ParserTests/regressions/hasktorch.expr index 9bf84ed14bc..2ddf3ba0556 100644 --- a/Cabal-tests/tests/ParserTests/regressions/hasktorch.expr +++ b/Cabal-tests/tests/ParserTests/regressions/hasktorch.expr @@ -1,9840 +1,10188 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [_×_ - (UnqualComponentName "isdefinite-cpu") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-cpu")]))], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "exe"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-cpu")]))], - virtualModules = []}, - exeName = UnqualComponentName "isdefinite-cpu", - exeScope = ExecutablePublic, - modulePath = "Noop.hs"}}, - _×_ - (UnqualComponentName "isdefinite-gpu") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-gpu")]))], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "exe"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-gpu")]))], - virtualModules = []}, - exeName = UnqualComponentName "isdefinite-gpu", - exeScope = ExecutablePublic, - modulePath = "Noop.hs"}}, - _×_ - (UnqualComponentName "isdefinite") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "exe"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - exeName = UnqualComponentName "isdefinite", - exeScope = ExecutablePublic, - modulePath = "Noop.hs"}}, - _×_ - (UnqualComponentName "memcheck") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "exe"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - exeName = UnqualComponentName "memcheck", - exeScope = ExecutablePublic, - modulePath = "Memcheck.hs"}}], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `CNot (Var (PackageFlag (FlagName "lite")))`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Byte", - moduleReexportOriginalName = ModuleName - "Torch.Byte", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Byte.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Byte.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Byte.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Byte.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Char", - moduleReexportOriginalName = ModuleName - "Torch.Char", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Char.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Char.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Char.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Char.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Short", - moduleReexportOriginalName = ModuleName - "Torch.Short", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Short.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Short.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Short.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Short.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Int", - moduleReexportOriginalName = ModuleName - "Torch.Int", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Int.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Int.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Int.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Int.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float", - moduleReexportOriginalName = ModuleName - "Torch.Float", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Float.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Float.Storage", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}}, - CondBranch - {condBranchCondition = `Var (PackageFlag (FlagName "cuda"))`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `CNot (Var (PackageFlag (FlagName "lite")))`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Byte", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Byte", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Byte.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Byte.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Byte.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Byte.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Char", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Char", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Char.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Char.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Char.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Char.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Short", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Short", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Short.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Short.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Short.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Short.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Int", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Int", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Int.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Int.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Int.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Int.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Float", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Float", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Float.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Float.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Float.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Float.Storage", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-gpu")]))], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-gpu")]))], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Long", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Long", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Long.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Long.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Long.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Long.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "dimensions") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 0])) - (LaterVersion (mkVersion [1, 0]))) - mainLibSet, - Dependency - (PackageName "safe-exceptions") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 1, 0])) - (LaterVersion (mkVersion [0, 1, 0]))) - mainLibSet, - Dependency - (PackageName "singletons") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 2])) - (LaterVersion (mkVersion [2, 2]))) - mainLibSet, - Dependency - (PackageName "text") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 2, 2])) - (LaterVersion (mkVersion [1, 2, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "hasktorch-cpu")])), - Dependency - (PackageName "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "Torch.Core.Exceptions", - ModuleName "Torch.Core.Random", - ModuleName "Torch.Core.LogAdd"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [EnableExtension - LambdaCase, - EnableExtension - DataKinds, - EnableExtension - TypeFamilies, - EnableExtension - TypeSynonymInstances, - EnableExtension - ScopedTypeVariables, - EnableExtension - FlexibleContexts, - EnableExtension CPP], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "utils"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "dimensions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, 0])) - (LaterVersion - (mkVersion - [1, 0]))) - mainLibSet, - Dependency - (PackageName - "safe-exceptions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 1, - 0])) - (LaterVersion - (mkVersion - [0, - 1, - 0]))) - mainLibSet, - Dependency - (PackageName - "singletons") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, 2])) - (LaterVersion - (mkVersion - [2, 2]))) - mainLibSet, - Dependency - (PackageName - "text") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 2, - 2])) - (LaterVersion - (mkVersion - [1, - 2, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-cpu")])), - Dependency - (PackageName - "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Types.Numeric", - moduleReexportOriginalName = ModuleName - "Torch.Types.Numeric", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Long", - moduleReexportOriginalName = ModuleName - "Torch.Long", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Long.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Long.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Long.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Long.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double", - moduleReexportOriginalName = ModuleName - "Torch.Double", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Double.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}, - condSubLibraries = [_×_ - (UnqualComponentName "hasktorch-cpu") - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (PackageFlag (FlagName "lite"))`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned")]))], - condTreeData = Library - {exposedModules = [ModuleName - "Torch.Byte", - ModuleName - "Torch.Byte.Dynamic", - ModuleName - "Torch.Byte.Storage", - ModuleName - "Torch.Char", - ModuleName - "Torch.Char.Dynamic", - ModuleName - "Torch.Char.Storage", - ModuleName - "Torch.Short", - ModuleName - "Torch.Short.Dynamic", - ModuleName - "Torch.Short.Storage", - ModuleName - "Torch.Int", - ModuleName - "Torch.Int.Dynamic", - ModuleName - "Torch.Int.Storage", - ModuleName - "Torch.Float", - ModuleName - "Torch.Float.Dynamic", - ModuleName - "Torch.Float.Storage"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Byte.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Byte.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Byte.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Byte.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Byte.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Byte.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Byte.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Byte.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Byte.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Byte.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Byte.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Byte.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Byte.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Byte.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Byte.Mask")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Byte"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Byte.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Byte.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Byte.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Byte.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Char.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Char.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Char.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Char.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Char.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Char.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Char.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Char.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Char.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Char.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Char.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Char.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Char.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Char.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Char.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Char.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Char.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Char.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Char.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Char.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Char.Mask")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Char"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Char.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Char.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Char.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Char.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Char.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Char.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Char.TensorMath")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Short.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Short.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Short.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Short.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Short.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Short.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Short.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Short.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Short.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Short.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Short.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Short.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Short.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Short.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Short.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Short.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Short.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Short"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Short.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Short.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Short.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Short.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Short.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Short.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.TH.Short.TensorMath")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Int.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Int.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Int.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Int.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Int.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Int.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Int.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Int.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Int.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Int.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Int.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Int.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Int.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Int.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Int.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Int.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Int.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Int"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Int.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Int.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Int.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Int.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Int.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Int.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.TH.Int.TensorMath")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Float.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Float.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Float.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Float.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Float.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Float.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Float.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Float.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Float.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Float.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Float.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Float.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Float.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Float.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Float.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Random.TH") - (ModuleName - "Torch.Indef.Float.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Random.TH") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Random.TH") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Random.TH") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Undefined.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Float.Tensor.Random.THC"), - _×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Float.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Float.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Float.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Float.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Float.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Float.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Float.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Float.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Float.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Float.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Float.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Float.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Float.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Float.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Float.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Float.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN") - (ModuleName - "Torch.Float.Dynamic.NN"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Activation") - (ModuleName - "Torch.Float.Dynamic.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Pooling") - (ModuleName - "Torch.Float.Dynamic.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Criterion") - (ModuleName - "Torch.Float.Dynamic.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Float.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Float.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Activation") - (ModuleName - "Torch.Float.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Backprop") - (ModuleName - "Torch.Float.NN.Backprop"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv1d") - (ModuleName - "Torch.Float.NN.Conv1d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv2d") - (ModuleName - "Torch.Float.NN.Conv2d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Criterion") - (ModuleName - "Torch.Float.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Layers") - (ModuleName - "Torch.Float.NN.Layers"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Linear") - (ModuleName - "Torch.Float.NN.Linear"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Math") - (ModuleName - "Torch.Float.NN.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Padding") - (ModuleName - "Torch.Float.NN.Padding"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Pooling") - (ModuleName - "Torch.Float.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Sampling") - (ModuleName - "Torch.Float.NN.Sampling")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Float"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Float.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Float.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Float.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Float.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Float.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Float.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Floating") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Blas") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Lapack") - (ModuleName - "Torch.FFI.TH.Float.TensorLapack"), - _×_ - (ModuleName - "Torch.Sig.NN") - (ModuleName - "Torch.FFI.TH.NN.Float"), - _×_ - (ModuleName - "Torch.Sig.Types.NN") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Random.TH") - (ModuleName - "Torch.FFI.TH.Float.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.TH") - (ModuleName - "Torch.FFI.TH.Float.TensorRandom"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Float.Tensor.Random.THC")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-floating"), - mixinPackageName = PackageName - "hasktorch"}], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned")]))], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-cpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-cpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "dimensions") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 0])) - (LaterVersion (mkVersion [1, 0]))) - mainLibSet, - Dependency - (PackageName "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "safe-exceptions") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 1, 0])) - (LaterVersion (mkVersion [0, 1, 0]))) - mainLibSet, - Dependency - (PackageName "singletons") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 2])) - (LaterVersion (mkVersion [2, 2]))) - mainLibSet, - Dependency - (PackageName "text") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 2, 2])) - (LaterVersion (mkVersion [1, 2, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-floating")])), - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-signed")]))], - condTreeData = Library - {exposedModules = [ModuleName "Torch.Long", - ModuleName "Torch.Long.Dynamic", - ModuleName "Torch.Long.Storage", - ModuleName "Torch.Double", - ModuleName "Torch.Double.Dynamic", - ModuleName "Torch.Double.Storage"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [EnableExtension - LambdaCase, - EnableExtension - DataKinds, - EnableExtension - TypeFamilies, - EnableExtension - TypeSynonymInstances, - EnableExtension - ScopedTypeVariables, - EnableExtension - FlexibleContexts, - EnableExtension - CPP], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath - "utils", - SymbolicPath "src"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Long.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Long.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Long.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Long.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Long.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Long.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Long.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Long.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Long.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Long.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Long.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Long.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Long.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Long.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Long.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Long.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Long.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Long"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Long.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Long.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Long.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Long.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.TH.Long.TensorMath")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Double.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Double.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Double.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Double.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Double.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Double.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Double.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Double.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Double.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Double.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Double.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Double.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Double.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Double.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Double.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Random.TH") - (ModuleName - "Torch.Indef.Double.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Random.TH") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Random.TH") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Random.TH") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Undefined.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Double.Tensor.Random.THC"), - _×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Double.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Double.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Double.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Double.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Double.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Double.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Double.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Double.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Double.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Double.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Double.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Double.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Double.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Double.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Double.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Double.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN") - (ModuleName - "Torch.Double.Dynamic.NN"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Activation") - (ModuleName - "Torch.Double.Dynamic.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Pooling") - (ModuleName - "Torch.Double.Dynamic.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Criterion") - (ModuleName - "Torch.Double.Dynamic.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Double.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Double.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Activation") - (ModuleName - "Torch.Double.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Backprop") - (ModuleName - "Torch.Double.NN.Backprop"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv1d") - (ModuleName - "Torch.Double.NN.Conv1d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv2d") - (ModuleName - "Torch.Double.NN.Conv2d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Criterion") - (ModuleName - "Torch.Double.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Layers") - (ModuleName - "Torch.Double.NN.Layers"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Linear") - (ModuleName - "Torch.Double.NN.Linear"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Math") - (ModuleName - "Torch.Double.NN.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Padding") - (ModuleName - "Torch.Double.NN.Padding"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Pooling") - (ModuleName - "Torch.Double.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Sampling") - (ModuleName - "Torch.Double.NN.Sampling")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.TH.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.TH.Long.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.TH.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.TH.Byte.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.TH.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.TH.Double"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.TH.Double.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.TH.Double.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.TH.Double.FreeStorage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.TH.Double.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.TH.Double.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.TH.Double.FreeTensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Floating") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Blas") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Lapack") - (ModuleName - "Torch.FFI.TH.Double.TensorLapack"), - _×_ - (ModuleName - "Torch.Sig.NN") - (ModuleName - "Torch.FFI.TH.NN.Double"), - _×_ - (ModuleName - "Torch.Sig.Types.NN") - (ModuleName - "Torch.Types.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Random.TH") - (ModuleName - "Torch.FFI.TH.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.TH") - (ModuleName - "Torch.FFI.TH.Double.TensorRandom"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Double.Tensor.Random.THC")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-floating"), - mixinPackageName = PackageName - "hasktorch"}], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [ModuleName - "Torch.Core.Exceptions", - ModuleName - "Torch.Core.Random", - ModuleName - "Torch.Core.LogAdd"], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "dimensions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 0])) - (LaterVersion - (mkVersion - [1, - 0]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "safe-exceptions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 1, - 0])) - (LaterVersion - (mkVersion - [0, - 1, - 0]))) - mainLibSet, - Dependency - (PackageName - "singletons") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 2])) - (LaterVersion - (mkVersion - [2, - 2]))) - mainLibSet, - Dependency - (PackageName - "text") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 2, - 2])) - (LaterVersion - (mkVersion - [1, - 2, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-floating")])), - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-signed")]))], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName "hasktorch-cpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Double.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Double.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Double.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Float.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Float.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Float.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Float.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Float.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Float.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}, - _×_ - (UnqualComponentName "hasktorch-gpu") - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (PackageFlag (FlagName "lite"))`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned")]))], - condTreeData = Library - {exposedModules = [ModuleName - "Torch.Cuda.Byte", - ModuleName - "Torch.Cuda.Byte.Dynamic", - ModuleName - "Torch.Cuda.Byte.Storage", - ModuleName - "Torch.Cuda.Char", - ModuleName - "Torch.Cuda.Char.Dynamic", - ModuleName - "Torch.Cuda.Char.Storage", - ModuleName - "Torch.Cuda.Short", - ModuleName - "Torch.Cuda.Short.Dynamic", - ModuleName - "Torch.Cuda.Short.Storage", - ModuleName - "Torch.Cuda.Int", - ModuleName - "Torch.Cuda.Int.Dynamic", - ModuleName - "Torch.Cuda.Int.Storage"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Byte.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Byte.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Byte.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Byte.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Byte.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Byte.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Byte.Mask")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Byte"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Byte.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Byte.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Byte.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Byte.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Byte.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Byte.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Byte.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Byte.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Byte.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Byte.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Byte.TensorTopK")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Char.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Char.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Char.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Char.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Char.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Char.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Char.Mask")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Char"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Char.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Char.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Char.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Char.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Char.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Char.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Char.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Char.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Char.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Char.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Char.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Char.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Char.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Char.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Char.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Char.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Char.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Char.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Char.TensorTopK")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Short.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Short.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Short.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Short.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Short.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Short.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Short"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Short.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Short.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Short.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Short.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Short.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Short.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Short.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Short.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Short.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Short.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Short.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Short.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Short.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Short.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Short.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Short.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Short.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Short.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Short.TensorTopK"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.THC.Short.TensorMathPointwise")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Int.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Int.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Int.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Int.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Int.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Int.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Int"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Int.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Int.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Int.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Int.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Int.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Int.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Int.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Int.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Int.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Int.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Int.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Int.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Int.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Int.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Int.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Int.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Int.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Int.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Int.TensorTopK"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.THC.Int.TensorMathPointwise")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned")]))], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-gpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-gpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "dimensions") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 0])) - (LaterVersion (mkVersion [1, 0]))) - mainLibSet, - Dependency - (PackageName "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "safe-exceptions") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 1, 0])) - (LaterVersion (mkVersion [0, 1, 0]))) - mainLibSet, - Dependency - (PackageName "singletons") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 2])) - (LaterVersion (mkVersion [2, 2]))) - mainLibSet, - Dependency - (PackageName "text") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 2, 2])) - (LaterVersion (mkVersion [1, 2, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-floating")])), - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-signed")])), - Dependency - (PackageName "hasktorch-ffi-thc") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-types-thc") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "Torch.Cuda.Long", - ModuleName - "Torch.Cuda.Long.Dynamic", - ModuleName - "Torch.Cuda.Long.Storage", - ModuleName "Torch.Cuda.Double", - ModuleName - "Torch.Cuda.Double.Dynamic", - ModuleName - "Torch.Cuda.Double.Storage"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = ["-DCUDA", - "-DHASKTORCH_INTERNAL_CUDA"], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [EnableExtension - LambdaCase, - EnableExtension - DataKinds, - EnableExtension - TypeFamilies, - EnableExtension - TypeSynonymInstances, - EnableExtension - ScopedTypeVariables, - EnableExtension - FlexibleContexts, - EnableExtension - CPP], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath - "utils", - SymbolicPath "src"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Long.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Long.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Long.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Long.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Long.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Long.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pointwise.Signed")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Long"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Long.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Long.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Long.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Long.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Long.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Long.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Long.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Long.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Long.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Long.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Long.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Long.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Long.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Long.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Long.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Long.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Long.TensorTopK"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.THC.Long.TensorMathPointwise")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - mixinPackageName = PackageName - "hasktorch"}, - Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Double.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Double.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Double.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Double.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Blas") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Lapack") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Floating") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Undefined.Tensor.Random.TH") - (ModuleName - "Torch.Undefined.Cuda.Double.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Undefined.Tensor.Math.Random.TH") - (ModuleName - "Torch.Undefined.Cuda.Double.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Random.THC") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Random.THC"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Random.THC") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Random.THC"), - _×_ - (ModuleName - "Torch.Indef.Storage") - (ModuleName - "Torch.Indef.Cuda.Double.Storage"), - _×_ - (ModuleName - "Torch.Indef.Storage.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Storage.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Copy") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Copy"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Index") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Index"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Masked") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Masked"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Compare"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.CompareT"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pairwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Scan"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Mode") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Mode"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.ScatterGather"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Sort") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Sort"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.TopK") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.TopK"), - _×_ - (ModuleName - "Torch.Indef.Types") - (ModuleName - "Torch.Cuda.Double.Types"), - _×_ - (ModuleName - "Torch.Indef.Index") - (ModuleName - "Torch.Cuda.Double.Index"), - _×_ - (ModuleName - "Torch.Indef.Mask") - (ModuleName - "Torch.Cuda.Double.Mask"), - _×_ - (ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN") - (ModuleName - "Torch.Cuda.Double.Dynamic.NN"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Activation") - (ModuleName - "Torch.Cuda.Double.Dynamic.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Pooling") - (ModuleName - "Torch.Cuda.Double.Dynamic.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Dynamic.NN.Criterion") - (ModuleName - "Torch.Cuda.Double.Dynamic.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Cuda.Double.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN") - (ModuleName - "Torch.Cuda.Double.NN"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Activation") - (ModuleName - "Torch.Cuda.Double.NN.Activation"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Backprop") - (ModuleName - "Torch.Cuda.Double.NN.Backprop"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv1d") - (ModuleName - "Torch.Cuda.Double.NN.Conv1d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Conv2d") - (ModuleName - "Torch.Cuda.Double.NN.Conv2d"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Criterion") - (ModuleName - "Torch.Cuda.Double.NN.Criterion"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Layers") - (ModuleName - "Torch.Cuda.Double.NN.Layers"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Linear") - (ModuleName - "Torch.Cuda.Double.NN.Linear"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Math") - (ModuleName - "Torch.Cuda.Double.NN.Math"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Padding") - (ModuleName - "Torch.Cuda.Double.NN.Padding"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Pooling") - (ModuleName - "Torch.Cuda.Double.NN.Pooling"), - _×_ - (ModuleName - "Torch.Indef.Static.NN.Sampling") - (ModuleName - "Torch.Cuda.Double.NN.Sampling")], - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.Index.Tensor") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Index.TensorFree") - (ModuleName - "Torch.FFI.THC.Long.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.Tensor") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.TensorFree") - (ModuleName - "Torch.FFI.THC.Byte.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Mask.MathReduce") - (ModuleName - "Torch.FFI.THC.Byte.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.State") - (ModuleName - "Torch.FFI.THC.State"), - _×_ - (ModuleName - "Torch.Sig.Types.Global") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Types") - (ModuleName - "Torch.Types.THC.Double"), - _×_ - (ModuleName - "Torch.Sig.Storage") - (ModuleName - "Torch.FFI.THC.Double.Storage"), - _×_ - (ModuleName - "Torch.Sig.Storage.Copy") - (ModuleName - "Torch.FFI.THC.Double.StorageCopy"), - _×_ - (ModuleName - "Torch.Sig.Storage.Memory") - (ModuleName - "Torch.FFI.THC.Double.Storage"), - _×_ - (ModuleName - "Torch.Sig.Tensor") - (ModuleName - "Torch.FFI.THC.Double.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Copy") - (ModuleName - "Torch.FFI.THC.Double.TensorCopy"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Memory") - (ModuleName - "Torch.FFI.THC.Double.Tensor"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Index") - (ModuleName - "Torch.FFI.THC.Double.TensorIndex"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Masked") - (ModuleName - "Torch.FFI.THC.Double.TensorMasked"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math") - (ModuleName - "Torch.FFI.THC.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Compare") - (ModuleName - "Torch.FFI.THC.Double.TensorMathCompare"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.CompareT") - (ModuleName - "Torch.FFI.THC.Double.TensorMathCompareT"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pairwise") - (ModuleName - "Torch.FFI.THC.Double.TensorMathPairwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise") - (ModuleName - "Torch.FFI.THC.Double.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce") - (ModuleName - "Torch.FFI.THC.Double.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Scan") - (ModuleName - "Torch.FFI.THC.Double.TensorMathScan"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Mode") - (ModuleName - "Torch.FFI.THC.Double.TensorMode"), - _×_ - (ModuleName - "Torch.Sig.Tensor.ScatterGather") - (ModuleName - "Torch.FFI.THC.Double.TensorScatterGather"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Sort") - (ModuleName - "Torch.FFI.THC.Double.TensorSort"), - _×_ - (ModuleName - "Torch.Sig.Tensor.TopK") - (ModuleName - "Torch.FFI.THC.Double.TensorTopK"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.FFI.THC.Double.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.FFI.THC.Double.TensorMathPointwise"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.FFI.THC.Double.TensorMathReduce"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Floating") - (ModuleName - "Torch.FFI.THC.Double.TensorMath"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Blas") - (ModuleName - "Torch.FFI.THC.Double.TensorMathBlas"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Lapack") - (ModuleName - "Torch.FFI.THC.Double.TensorMathMagma"), - _×_ - (ModuleName - "Torch.Sig.NN") - (ModuleName - "Torch.FFI.THC.NN.Double"), - _×_ - (ModuleName - "Torch.Sig.Types.NN") - (ModuleName - "Torch.Types.THC"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Random.TH") - (ModuleName - "Torch.Undefined.Cuda.Double.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.TH") - (ModuleName - "Torch.Undefined.Cuda.Double.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.THC") - (ModuleName - "Torch.FFI.THC.Double.TensorRandom")]}, - mixinLibraryName = LSubLibName - (UnqualComponentName - "hasktorch-indef-floating"), - mixinPackageName = PackageName - "hasktorch"}], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [ModuleName - "Torch.Core.Exceptions", - ModuleName - "Torch.Core.Random", - ModuleName - "Torch.Core.LogAdd"], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "dimensions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 0])) - (LaterVersion - (mkVersion - [1, - 0]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-ffi-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-th") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "safe-exceptions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 1, - 0])) - (LaterVersion - (mkVersion - [0, - 1, - 0]))) - mainLibSet, - Dependency - (PackageName - "singletons") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 2])) - (LaterVersion - (mkVersion - [2, - 2]))) - mainLibSet, - Dependency - (PackageName - "text") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 2, - 2])) - (LaterVersion - (mkVersion - [1, - 2, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-floating")])), - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "hasktorch-indef-signed")])), - Dependency - (PackageName - "hasktorch-ffi-thc") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-types-thc") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName "hasktorch-gpu"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Cuda.Double.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}, - _×_ - (UnqualComponentName "hasktorch-indef-unsigned") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-indef") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = DefaultRenaming, - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.NN") - (ModuleName - "Torch.Undefined.NN"), - _×_ - (ModuleName - "Torch.Sig.Types.NN") - (ModuleName - "Torch.Undefined.Types.NN"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Blas") - (ModuleName - "Torch.Undefined.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Lapack") - (ModuleName - "Torch.Undefined.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Signed") - (ModuleName - "Torch.Undefined.Tensor.Math.Pointwise.Signed"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Random.TH") - (ModuleName - "Torch.Undefined.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.TH") - (ModuleName - "Torch.Undefined.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Tensor.Random.THC")]}, - mixinLibraryName = LMainLibName, - mixinPackageName = PackageName - "hasktorch-indef"}], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-indef") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-indef-unsigned"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}, - _×_ - (UnqualComponentName "hasktorch-indef-signed") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet, - Dependency - (PackageName "hasktorch-indef") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [Mixin - {mixinIncludeRenaming = IncludeRenaming - {includeProvidesRn = DefaultRenaming, - includeRequiresRn = ModuleRenaming - [_×_ - (ModuleName - "Torch.Sig.NN") - (ModuleName - "Torch.Undefined.NN"), - _×_ - (ModuleName - "Torch.Sig.Types.NN") - (ModuleName - "Torch.Undefined.Types.NN"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Blas") - (ModuleName - "Torch.Undefined.Tensor.Math.Blas"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Lapack") - (ModuleName - "Torch.Undefined.Tensor.Math.Lapack"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Pointwise.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Pointwise.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Reduce.Floating") - (ModuleName - "Torch.Undefined.Tensor.Math.Reduce.Floating"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Math.Random.TH") - (ModuleName - "Torch.Undefined.Tensor.Math.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.TH") - (ModuleName - "Torch.Undefined.Tensor.Random.TH"), - _×_ - (ModuleName - "Torch.Sig.Tensor.Random.THC") - (ModuleName - "Torch.Undefined.Tensor.Random.THC")]}, - mixinLibraryName = LMainLibName, - mixinPackageName = PackageName - "hasktorch-indef"}], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-indef") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-indef-signed"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}, - _×_ - (UnqualComponentName "hasktorch-indef-floating") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "hasktorch-indef") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [0, 0, 1])) - (LaterVersion (mkVersion [0, 0, 1]))) - (EarlierVersion (mkVersion [0, 0, 2]))) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "hasktorch-indef") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "hasktorch-signatures-partial") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 0, - 1])) - (LaterVersion - (mkVersion - [0, - 0, - 1]))) - (EarlierVersion - (mkVersion - [0, - 0, - 2]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LSubLibName - (UnqualComponentName - "hasktorch-indef-floating"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Mask", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Types", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Storage.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Print", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Copy", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Index", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Masked", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Compare", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.CompareT", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pairwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Scan", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Mode", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.ScatterGather", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Sort", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.TopK", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Blas", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Blas", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Lapack", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Lapack", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Random.THC", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Random.THC", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.Tensor.Math.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Blas", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Blas", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Lapack", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Lapack", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Pointwise.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce.Floating", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Reduce.Floating", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Random.THC", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Random.THC", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.Tensor.Math.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.Tensor.Math.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.NN", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Dynamic.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Dynamic.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Activation", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Activation", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Backprop", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Backprop", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Conv1d", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Conv1d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Conv2d", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Conv2d", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Criterion", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Criterion", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Layers", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Layers", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Linear", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Linear", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Math", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Math", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Padding", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Padding", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Pooling", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Pooling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Indef.Static.NN.Sampling", - moduleReexportOriginalName = ModuleName - "Torch.Indef.Static.NN.Sampling", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Undefined.Tensor.Math.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Undefined.Tensor.Math.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Undefined.Tensor.Random.TH", - moduleReexportOriginalName = ModuleName - "Torch.Undefined.Tensor.Random.TH", - moduleReexportOriginalPackage = Nothing}, - ModuleReexport - {moduleReexportName = ModuleName - "Torch.Undefined.Tensor.Random.THC", - moduleReexportOriginalName = ModuleName - "Torch.Undefined.Tensor.Random.THC", - moduleReexportOriginalPackage = Nothing}], - signatures = []}}], - condTestSuites = [_×_ - (UnqualComponentName "spec") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "QuickCheck") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 11])) - (LaterVersion (mkVersion [2, 11]))) - mainLibSet, - Dependency - (PackageName "backprop") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 2, 5])) - (LaterVersion (mkVersion [0, 2, 5]))) - mainLibSet, - Dependency - (PackageName "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion (mkVersion [4, 7])) - (LaterVersion (mkVersion [4, 7]))) - (EarlierVersion (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "dimensions") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 0])) - (LaterVersion (mkVersion [1, 0]))) - mainLibSet, - Dependency - (PackageName "ghc-typelits-natnormalise") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "hasktorch") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "hspec") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 4, 4])) - (LaterVersion (mkVersion [2, 4, 4]))) - mainLibSet, - Dependency - (PackageName "singletons") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 2])) - (LaterVersion (mkVersion [2, 2]))) - mainLibSet, - Dependency - (PackageName "mtl") - (UnionVersionRanges - (ThisVersion (mkVersion [2, 2, 2])) - (LaterVersion (mkVersion [2, 2, 2]))) - mainLibSet, - Dependency - (PackageName "microlens-platform") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 3, 10])) - (LaterVersion (mkVersion [0, 3, 10]))) - mainLibSet, - Dependency - (PackageName "monad-loops") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 4, 3])) - (LaterVersion (mkVersion [0, 4, 3]))) - mainLibSet, - Dependency - (PackageName "time") - (UnionVersionRanges - (ThisVersion (mkVersion [1, 8, 0])) - (LaterVersion (mkVersion [1, 8, 0]))) - mainLibSet, - Dependency - (PackageName "transformers") - (UnionVersionRanges - (ThisVersion (mkVersion [0, 5, 5])) - (LaterVersion (mkVersion [0, 5, 5]))) - mainLibSet, - Dependency - (PackageName "generic-lens") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = TestSuite - {testBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [EnableExtension - LambdaCase, - EnableExtension - DataKinds, - EnableExtension - TypeFamilies, - EnableExtension - TypeSynonymInstances, - EnableExtension - ScopedTypeVariables, - EnableExtension - FlexibleContexts, - EnableExtension - CPP], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath - "tests"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [ModuleName "Orphans", - ModuleName - "MemorySpec", - ModuleName - "RawLapackSVDSpec", - ModuleName - "GarbageCollectionSpec", - ModuleName - "Torch.Prelude.Extras", - ModuleName - "Torch.Core.LogAddSpec", - ModuleName - "Torch.Core.RandomSpec", - ModuleName - "Torch.Static.NN.AbsSpec", - ModuleName - "Torch.Static.NN.LinearSpec"], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [Dependency - (PackageName - "QuickCheck") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 11])) - (LaterVersion - (mkVersion - [2, - 11]))) - mainLibSet, - Dependency - (PackageName - "backprop") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 2, - 5])) - (LaterVersion - (mkVersion - [0, - 2, - 5]))) - mainLibSet, - Dependency - (PackageName - "base") - (IntersectVersionRanges - (UnionVersionRanges - (ThisVersion - (mkVersion - [4, - 7])) - (LaterVersion - (mkVersion - [4, - 7]))) - (EarlierVersion - (mkVersion - [5]))) - mainLibSet, - Dependency - (PackageName - "dimensions") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 0])) - (LaterVersion - (mkVersion - [1, - 0]))) - mainLibSet, - Dependency - (PackageName - "ghc-typelits-natnormalise") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "hasktorch") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "hspec") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 4, - 4])) - (LaterVersion - (mkVersion - [2, - 4, - 4]))) - mainLibSet, - Dependency - (PackageName - "singletons") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 2])) - (LaterVersion - (mkVersion - [2, - 2]))) - mainLibSet, - Dependency - (PackageName - "mtl") - (UnionVersionRanges - (ThisVersion - (mkVersion - [2, - 2, - 2])) - (LaterVersion - (mkVersion - [2, - 2, - 2]))) - mainLibSet, - Dependency - (PackageName - "microlens-platform") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 3, - 10])) - (LaterVersion - (mkVersion - [0, - 3, - 10]))) - mainLibSet, - Dependency - (PackageName - "monad-loops") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 4, - 3])) - (LaterVersion - (mkVersion - [0, - 4, - 3]))) - mainLibSet, - Dependency - (PackageName - "time") - (UnionVersionRanges - (ThisVersion - (mkVersion - [1, - 8, - 0])) - (LaterVersion - (mkVersion - [1, - 8, - 0]))) - mainLibSet, - Dependency - (PackageName - "transformers") - (UnionVersionRanges - (ThisVersion - (mkVersion - [0, - 5, - 5])) - (LaterVersion - (mkVersion - [0, - 5, - 5]))) - mainLibSet, - Dependency - (PackageName - "generic-lens") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - testInterface = TestSuiteExeV10 - (mkVersion [1, 0]) "Spec.hs", - testName = UnqualComponentName ""}}], - genPackageFlags = [MkPackageFlag - {flagDefault = False, - flagDescription = "build with THC support", - flagManual = False, - flagName = FlagName "cuda"}, - MkPackageFlag - {flagDefault = False, - flagDescription = "only build with Double and Long support", - flagManual = False, - flagName = FlagName "lite"}], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "Hasktorch dev team", - benchmarks = [], - bugReports = "https://github.com/hasktorch/hasktorch/issues", - buildTypeRaw = Just Simple, - category = "Tensors, Machine Learning, AI", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "Hasktorch is a library for tensors and neural networks in Haskell. It is an independent open source community project which leverages the core C libraries shared by Torch and PyTorch. This library leverages @cabal v2-build@ and @backpack@. *Note that this project is in early development and should only be used by contributing developers. Expect substantial changes to the library API as it evolves. Contributions and PRs are welcome (see details on github).*", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "https://github.com/hasktorch/hasktorch#readme", - library = Nothing, - licenseFiles = [], - licenseRaw = Left - (License (ELicense (ELicenseId BSD_3_Clause) Nothing)), - maintainer = "Sam Stites , Austin Huang - cipher:ROT13", - package = PackageIdentifier - {pkgName = PackageName "hasktorch", - pkgVersion = mkVersion [0, 0, 1, 0]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [SourceRepo - {repoBranch = Nothing, - repoKind = RepoHead, - repoLocation = Just - "https://github.com/hasktorch/hasktorch", - repoModule = Nothing, - repoSubdir = Nothing, - repoTag = Nothing, - repoType = Just (KnownRepoType Git)}], - specVersion = CabalSpecV2_2, - stability = "", - subLibraries = [], - synopsis = "Torch for tensors and neural networks in Haskell", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV2_2, + package = PackageIdentifier { + pkgName = PackageName + "hasktorch", + pkgVersion = mkVersion + [0, 0, 1, 0]}, + licenseRaw = Left + (License + (ELicense + (ELicenseId BSD_3_Clause) + Nothing)), + licenseFiles = [], + copyright = "", + maintainer = + "Sam Stites , Austin Huang - cipher:ROT13", + author = "Hasktorch dev team", + stability = "", + testedWith = [], + homepage = + "https://github.com/hasktorch/hasktorch#readme", + pkgUrl = "", + bugReports = + "https://github.com/hasktorch/hasktorch/issues", + sourceRepos = [ + SourceRepo { + repoKind = RepoHead, + repoType = Just + (KnownRepoType Git), + repoLocation = Just + "https://github.com/hasktorch/hasktorch", + repoModule = Nothing, + repoBranch = Nothing, + repoTag = Nothing, + repoSubdir = Nothing}], + synopsis = + "Torch for tensors and neural networks in Haskell", + description = + "Hasktorch is a library for tensors and neural networks in Haskell. It is an independent open source community project which leverages the core C libraries shared by Torch and PyTorch. This library leverages @cabal v2-build@ and @backpack@. *Note that this project is in early development and should only be used by contributing developers. Expect substantial changes to the library API as it evolves. Contributions and PRs are welcome (see details on github).*", + category = + "Tensors, Machine Learning, AI", + customFieldsPD = [], + buildTypeRaw = Just Simple, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [ + MkPackageFlag { + flagName = FlagName "cuda", + flagDescription = + "build with THC support", + flagDefault = False, + flagManual = False}, + MkPackageFlag { + flagName = FlagName "lite", + flagDescription = + "only build with Double and Long support", + flagDefault = False, + flagManual = False}], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [ + ModuleName + "Torch.Core.Exceptions", + ModuleName "Torch.Core.Random", + ModuleName "Torch.Core.LogAdd"], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Types.Numeric", + moduleReexportName = ModuleName + "Torch.Types.Numeric"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Long", + moduleReexportName = ModuleName + "Torch.Long"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Long.Dynamic", + moduleReexportName = ModuleName + "Torch.Long.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Long.Storage", + moduleReexportName = ModuleName + "Torch.Long.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Double", + moduleReexportName = ModuleName + "Torch.Double"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic", + moduleReexportName = ModuleName + "Torch.Double.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Storage", + moduleReexportName = ModuleName + "Torch.Double.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Double.NN", + moduleReexportName = ModuleName + "Torch.Double.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Activation", + moduleReexportName = ModuleName + "Torch.Double.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Double.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Double.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Double.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Double.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Layers", + moduleReexportName = ModuleName + "Torch.Double.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Linear", + moduleReexportName = ModuleName + "Torch.Double.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Math", + moduleReexportName = ModuleName + "Torch.Double.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Padding", + moduleReexportName = ModuleName + "Torch.Double.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Double.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Double.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Criterion"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "utils"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [ + EnableExtension LambdaCase, + EnableExtension DataKinds, + EnableExtension TypeFamilies, + EnableExtension + TypeSynonymInstances, + EnableExtension + ScopedTypeVariables, + EnableExtension + FlexibleContexts, + EnableExtension CPP], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-cpu")])), + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-cpu")])), + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `CNot (Var (PackageFlag (FlagName "lite")))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Byte", + moduleReexportName = ModuleName + "Torch.Byte"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Byte.Dynamic", + moduleReexportName = ModuleName + "Torch.Byte.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Byte.Storage", + moduleReexportName = ModuleName + "Torch.Byte.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Char", + moduleReexportName = ModuleName + "Torch.Char"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Char.Dynamic", + moduleReexportName = ModuleName + "Torch.Char.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Char.Storage", + moduleReexportName = ModuleName + "Torch.Char.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Short", + moduleReexportName = ModuleName + "Torch.Short"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Short.Dynamic", + moduleReexportName = ModuleName + "Torch.Short.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Short.Storage", + moduleReexportName = ModuleName + "Torch.Short.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Int", + moduleReexportName = ModuleName + "Torch.Int"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Int.Dynamic", + moduleReexportName = ModuleName + "Torch.Int.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Int.Storage", + moduleReexportName = ModuleName + "Torch.Int.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Float", + moduleReexportName = ModuleName + "Torch.Float"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Dynamic", + moduleReexportName = ModuleName + "Torch.Float.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Storage", + moduleReexportName = ModuleName + "Torch.Float.Storage"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Nothing}, + CondBranch { + condBranchCondition = + `Var (PackageFlag (FlagName "cuda"))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Long", + moduleReexportName = ModuleName + "Torch.Cuda.Long"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Long.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Long.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Long.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Long.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Double", + moduleReexportName = ModuleName + "Torch.Cuda.Double"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Activation", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Layers", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Linear", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Math", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Padding", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Criterion"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-gpu")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-gpu")]))], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `CNot (Var (PackageFlag (FlagName "lite")))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Byte", + moduleReexportName = ModuleName + "Torch.Cuda.Byte"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Byte.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Byte.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Byte.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Byte.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Char", + moduleReexportName = ModuleName + "Torch.Cuda.Char"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Char.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Char.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Char.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Char.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Short", + moduleReexportName = ModuleName + "Torch.Cuda.Short"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Short.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Short.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Short.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Short.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Int", + moduleReexportName = ModuleName + "Torch.Cuda.Int"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Int.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Int.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Int.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Int.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Cuda.Float", + moduleReexportName = ModuleName + "Torch.Cuda.Float"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Float.Dynamic", + moduleReexportName = ModuleName + "Torch.Cuda.Float.Dynamic"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Float.Storage", + moduleReexportName = ModuleName + "Torch.Cuda.Float.Storage"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Nothing}]}, + condBranchIfFalse = Nothing}]}, + condSubLibraries = + [ + _×_ + (UnqualComponentName + "hasktorch-cpu") + CondNode { + condTreeData = + Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-cpu"), + exposedModules = [ + ModuleName "Torch.Long", + ModuleName "Torch.Long.Dynamic", + ModuleName "Torch.Long.Storage", + ModuleName "Torch.Double", + ModuleName + "Torch.Double.Dynamic", + ModuleName + "Torch.Double.Storage"], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Double.NN", + moduleReexportName = ModuleName + "Torch.Double.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Activation", + moduleReexportName = ModuleName + "Torch.Double.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Double.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Double.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Double.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Double.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Layers", + moduleReexportName = ModuleName + "Torch.Double.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Linear", + moduleReexportName = ModuleName + "Torch.Double.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Math", + moduleReexportName = ModuleName + "Torch.Double.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Padding", + moduleReexportName = ModuleName + "Torch.Double.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Double.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Double.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Double.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Double.Dynamic.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Float.NN", + moduleReexportName = ModuleName + "Torch.Float.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Activation", + moduleReexportName = ModuleName + "Torch.Float.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Float.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Float.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Float.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Float.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Layers", + moduleReexportName = ModuleName + "Torch.Float.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Linear", + moduleReexportName = ModuleName + "Torch.Float.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Math", + moduleReexportName = ModuleName + "Torch.Float.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Padding", + moduleReexportName = ModuleName + "Torch.Float.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Float.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Float.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Float.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Float.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Float.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Float.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Float.Dynamic.NN.Criterion"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = + BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "utils", + SymbolicPath "src"], + otherModules = [ + ModuleName + "Torch.Core.Exceptions", + ModuleName "Torch.Core.Random", + ModuleName "Torch.Core.LogAdd"], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [ + EnableExtension LambdaCase, + EnableExtension DataKinds, + EnableExtension TypeFamilies, + EnableExtension + TypeSynonymInstances, + EnableExtension + ScopedTypeVariables, + EnableExtension + FlexibleContexts, + EnableExtension CPP], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-floating")])), + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-signed")]))], + mixins = + [ + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Long.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Long.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Long.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Long.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Long.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Long.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Long.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Long.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Long.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Long.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Long.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Long.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName "Torch.Long.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName "Torch.Long.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Long.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Long.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Long.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Long"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Long.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Long.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Long.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Long.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.TH.Long.TensorMath")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-floating"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Double.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Double.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Double.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Double.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Double.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Double.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Double.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Double.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Double.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Double.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Double.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Double.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Double.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Double.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Double.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Random.TH") + (ModuleName + "Torch.Indef.Double.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Random.TH") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Random.TH") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Random.TH") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Undefined.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Double.Tensor.Random.THC"), + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Double.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Double.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Double.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Double.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Double.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Double.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Double.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Double.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Double.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Double.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Double.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Double.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Double.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Double.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Double.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Double.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Double.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN") + (ModuleName + "Torch.Double.Dynamic.NN"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Activation") + (ModuleName + "Torch.Double.Dynamic.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Pooling") + (ModuleName + "Torch.Double.Dynamic.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Criterion") + (ModuleName + "Torch.Double.Dynamic.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName "Torch.Double.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName "Torch.Double.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Activation") + (ModuleName + "Torch.Double.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Backprop") + (ModuleName + "Torch.Double.NN.Backprop"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv1d") + (ModuleName + "Torch.Double.NN.Conv1d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv2d") + (ModuleName + "Torch.Double.NN.Conv2d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Criterion") + (ModuleName + "Torch.Double.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Layers") + (ModuleName + "Torch.Double.NN.Layers"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Linear") + (ModuleName + "Torch.Double.NN.Linear"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Math") + (ModuleName + "Torch.Double.NN.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Padding") + (ModuleName + "Torch.Double.NN.Padding"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Pooling") + (ModuleName + "Torch.Double.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Sampling") + (ModuleName + "Torch.Double.NN.Sampling")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Double"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Double.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Double.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Double.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Double.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Double.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Double.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Floating") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Blas") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Lapack") + (ModuleName + "Torch.FFI.TH.Double.TensorLapack"), + _×_ + (ModuleName "Torch.Sig.NN") + (ModuleName + "Torch.FFI.TH.NN.Double"), + _×_ + (ModuleName + "Torch.Sig.Types.NN") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Random.TH") + (ModuleName + "Torch.FFI.TH.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.TH") + (ModuleName + "Torch.FFI.TH.Double.TensorRandom"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Double.Tensor.Random.THC")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-floating")])), + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-signed")]))], + condTreeComponents = + [ + CondBranch { + condBranchCondition = + `Var (PackageFlag (FlagName "lite"))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-cpu"), + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = + Just + CondNode { + condTreeData = + Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-cpu"), + exposedModules = [ + ModuleName "Torch.Byte", + ModuleName "Torch.Byte.Dynamic", + ModuleName "Torch.Byte.Storage", + ModuleName "Torch.Char", + ModuleName "Torch.Char.Dynamic", + ModuleName "Torch.Char.Storage", + ModuleName "Torch.Short", + ModuleName + "Torch.Short.Dynamic", + ModuleName + "Torch.Short.Storage", + ModuleName "Torch.Int", + ModuleName "Torch.Int.Dynamic", + ModuleName "Torch.Int.Storage", + ModuleName "Torch.Float", + ModuleName + "Torch.Float.Dynamic", + ModuleName + "Torch.Float.Storage"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = + BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned")]))], + mixins = + [ + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Byte.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Byte.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Byte.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Byte.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Byte.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Byte.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Byte.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Byte.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Byte.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Byte.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Byte.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Byte.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName "Torch.Byte.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName "Torch.Byte.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Byte.Mask")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Byte"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Byte.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Byte.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Byte.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Byte.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Char.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Char.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Char.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Char.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Char.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Char.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Char.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Char.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Char.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Char.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Char.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Char.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Char.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Char.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Char.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Char.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Char.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Char.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName "Torch.Char.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName "Torch.Char.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Char.Mask")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Char"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Char.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Char.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Char.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Char.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Char.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Char.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Char.TensorMath")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Short.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Short.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Short.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Short.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Short.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Short.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Short.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Short.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Short.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Short.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Short.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Short.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Short.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Short.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Short.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Short.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Short.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Short"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Short.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Short.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Short.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Short.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Short.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Short.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.TH.Short.TensorMath")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Int.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Int.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Int.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Int.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Int.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Int.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Int.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Int.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Int.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Int.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Int.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Int.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName "Torch.Int.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName "Torch.Int.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Int.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Int.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Int.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Int"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Int.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Int.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Int.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Int.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Int.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Int.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.TH.Int.TensorMath")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-floating"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Float.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Float.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Float.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Float.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Float.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Float.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Float.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Float.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Float.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Float.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Float.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Float.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Float.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Float.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Float.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Random.TH") + (ModuleName + "Torch.Indef.Float.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Random.TH") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Random.TH") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Random.TH") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Undefined.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Float.Tensor.Random.THC"), + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Float.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Float.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Float.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Float.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Float.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Float.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Float.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Float.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Float.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Float.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Float.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Float.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Float.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Float.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName "Torch.Float.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Float.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Float.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN") + (ModuleName + "Torch.Float.Dynamic.NN"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Activation") + (ModuleName + "Torch.Float.Dynamic.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Pooling") + (ModuleName + "Torch.Float.Dynamic.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Criterion") + (ModuleName + "Torch.Float.Dynamic.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName "Torch.Float.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName "Torch.Float.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Activation") + (ModuleName + "Torch.Float.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Backprop") + (ModuleName + "Torch.Float.NN.Backprop"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv1d") + (ModuleName + "Torch.Float.NN.Conv1d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv2d") + (ModuleName + "Torch.Float.NN.Conv2d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Criterion") + (ModuleName + "Torch.Float.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Layers") + (ModuleName + "Torch.Float.NN.Layers"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Linear") + (ModuleName + "Torch.Float.NN.Linear"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Math") + (ModuleName + "Torch.Float.NN.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Padding") + (ModuleName + "Torch.Float.NN.Padding"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Pooling") + (ModuleName + "Torch.Float.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Sampling") + (ModuleName + "Torch.Float.NN.Sampling")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.TH.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.TH.Long.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.TH.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.TH.Byte.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.TH.Byte.TensorMath"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.TH.Float"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.TH.Float.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.TH.Float.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.TH.Float.FreeStorage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.TH.Float.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.TH.Float.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.TH.Float.FreeTensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Floating") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Blas") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Lapack") + (ModuleName + "Torch.FFI.TH.Float.TensorLapack"), + _×_ + (ModuleName "Torch.Sig.NN") + (ModuleName + "Torch.FFI.TH.NN.Float"), + _×_ + (ModuleName + "Torch.Sig.Types.NN") + (ModuleName "Torch.Types.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Random.TH") + (ModuleName + "Torch.FFI.TH.Float.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.TH") + (ModuleName + "Torch.FFI.TH.Float.TensorRandom"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Float.Tensor.Random.THC")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned")]))], + condTreeComponents = []}}]}, + _×_ + (UnqualComponentName + "hasktorch-gpu") + CondNode { + condTreeData = + Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-gpu"), + exposedModules = [ + ModuleName "Torch.Cuda.Long", + ModuleName + "Torch.Cuda.Long.Dynamic", + ModuleName + "Torch.Cuda.Long.Storage", + ModuleName "Torch.Cuda.Double", + ModuleName + "Torch.Cuda.Double.Dynamic", + ModuleName + "Torch.Cuda.Double.Storage"], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Activation", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Layers", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Linear", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Math", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Padding", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Cuda.Double.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Cuda.Double.Dynamic.NN.Criterion"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = + BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [ + "-DCUDA", + "-DHASKTORCH_INTERNAL_CUDA"], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "utils", + SymbolicPath "src"], + otherModules = [ + ModuleName + "Torch.Core.Exceptions", + ModuleName "Torch.Core.Random", + ModuleName "Torch.Core.LogAdd"], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [ + EnableExtension LambdaCase, + EnableExtension DataKinds, + EnableExtension TypeFamilies, + EnableExtension + TypeSynonymInstances, + EnableExtension + ScopedTypeVariables, + EnableExtension + FlexibleContexts, + EnableExtension CPP], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-floating")])), + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-signed")])), + Dependency + (PackageName + "hasktorch-ffi-thc") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-thc") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + mixins = + [ + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Long.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Long.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Long.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Long.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Long.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Long.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Long.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Long"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Long.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Long.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Long.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Long.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Long.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Long.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Long.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Long.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Long.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Long.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Long.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Long.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Long.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Long.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Long.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Long.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Long.TensorTopK"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.THC.Long.TensorMathPointwise")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-floating"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Double.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Double.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Double.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Double.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Blas") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Lapack") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Floating") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Undefined.Tensor.Random.TH") + (ModuleName + "Torch.Undefined.Cuda.Double.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Undefined.Tensor.Math.Random.TH") + (ModuleName + "Torch.Undefined.Cuda.Double.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Random.THC") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Random.THC"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Random.THC") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Random.THC"), + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Double.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Double.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Double.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Double.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Double.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Double.Dynamic.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN") + (ModuleName + "Torch.Cuda.Double.Dynamic.NN"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Activation") + (ModuleName + "Torch.Cuda.Double.Dynamic.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Pooling") + (ModuleName + "Torch.Cuda.Double.Dynamic.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.NN.Criterion") + (ModuleName + "Torch.Cuda.Double.Dynamic.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName + "Torch.Cuda.Double.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN") + (ModuleName + "Torch.Cuda.Double.NN"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Activation") + (ModuleName + "Torch.Cuda.Double.NN.Activation"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Backprop") + (ModuleName + "Torch.Cuda.Double.NN.Backprop"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv1d") + (ModuleName + "Torch.Cuda.Double.NN.Conv1d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Conv2d") + (ModuleName + "Torch.Cuda.Double.NN.Conv2d"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Criterion") + (ModuleName + "Torch.Cuda.Double.NN.Criterion"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Layers") + (ModuleName + "Torch.Cuda.Double.NN.Layers"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Linear") + (ModuleName + "Torch.Cuda.Double.NN.Linear"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Math") + (ModuleName + "Torch.Cuda.Double.NN.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Padding") + (ModuleName + "Torch.Cuda.Double.NN.Padding"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Pooling") + (ModuleName + "Torch.Cuda.Double.NN.Pooling"), + _×_ + (ModuleName + "Torch.Indef.Static.NN.Sampling") + (ModuleName + "Torch.Cuda.Double.NN.Sampling")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Double"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Double.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Double.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Double.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Double.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Double.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Double.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Double.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Double.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Double.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Double.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Double.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Double.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Double.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Double.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Double.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Double.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Double.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Double.TensorTopK"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.THC.Double.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.FFI.THC.Double.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.FFI.THC.Double.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Floating") + (ModuleName + "Torch.FFI.THC.Double.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Blas") + (ModuleName + "Torch.FFI.THC.Double.TensorMathBlas"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Lapack") + (ModuleName + "Torch.FFI.THC.Double.TensorMathMagma"), + _×_ + (ModuleName "Torch.Sig.NN") + (ModuleName + "Torch.FFI.THC.NN.Double"), + _×_ + (ModuleName + "Torch.Sig.Types.NN") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Random.TH") + (ModuleName + "Torch.Undefined.Cuda.Double.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.TH") + (ModuleName + "Torch.Undefined.Cuda.Double.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.THC") + (ModuleName + "Torch.FFI.THC.Double.TensorRandom")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName "hasktorch-ffi-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-th") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "safe-exceptions") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 1, 0])) + (LaterVersion + (mkVersion [0, 1, 0]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "text") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 2, 2])) + (LaterVersion + (mkVersion [1, 2, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-floating")])), + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-signed")])), + Dependency + (PackageName + "hasktorch-ffi-thc") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-types-thc") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + condTreeComponents = + [ + CondBranch { + condBranchCondition = + `Var (PackageFlag (FlagName "lite"))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-gpu"), + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = + Just + CondNode { + condTreeData = + Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-gpu"), + exposedModules = [ + ModuleName "Torch.Cuda.Byte", + ModuleName + "Torch.Cuda.Byte.Dynamic", + ModuleName + "Torch.Cuda.Byte.Storage", + ModuleName "Torch.Cuda.Char", + ModuleName + "Torch.Cuda.Char.Dynamic", + ModuleName + "Torch.Cuda.Char.Storage", + ModuleName "Torch.Cuda.Short", + ModuleName + "Torch.Cuda.Short.Dynamic", + ModuleName + "Torch.Cuda.Short.Storage", + ModuleName "Torch.Cuda.Int", + ModuleName + "Torch.Cuda.Int.Dynamic", + ModuleName + "Torch.Cuda.Int.Storage"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = + BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned")]))], + mixins = + [ + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Byte.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Byte.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Byte.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Byte.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Byte.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Byte.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Byte.Mask")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Byte"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Byte.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Byte.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Byte.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Byte.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Byte.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Byte.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Byte.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Byte.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Byte.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Byte.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Byte.TensorTopK")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Char.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Char.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Char.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Char.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Char.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Char.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Char.Mask")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Char"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Char.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Char.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Char.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Char.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Char.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Char.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Char.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Char.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Char.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Char.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Char.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Char.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Char.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Char.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Char.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Char.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Char.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Char.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Char.TensorTopK")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Short.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Short.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Short.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Short.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Short.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Short.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Short.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Short"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Short.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Short.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Short.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Short.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Short.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Short.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Short.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Short.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Short.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Short.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Short.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Short.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Short.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Short.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Short.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Short.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Short.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Short.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Short.TensorTopK"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.THC.Short.TensorMathPointwise")]}}, + Mixin { + mixinPackageName = PackageName + "hasktorch", + mixinLibraryName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Indef.Storage") + (ModuleName + "Torch.Indef.Cuda.Int.Storage"), + _×_ + (ModuleName + "Torch.Indef.Storage.Copy") + (ModuleName + "Torch.Indef.Cuda.Int.Storage.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.TopK"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Copy") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Copy"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Index") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Index"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Masked") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Masked"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Compare"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.CompareT"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pairwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pointwise"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Reduce"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Scan"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Mode") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Mode"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.ScatterGather"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Sort") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Sort"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.TopK") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.TopK"), + _×_ + (ModuleName "Torch.Indef.Types") + (ModuleName + "Torch.Cuda.Int.Types"), + _×_ + (ModuleName "Torch.Indef.Index") + (ModuleName + "Torch.Cuda.Int.Index"), + _×_ + (ModuleName "Torch.Indef.Mask") + (ModuleName + "Torch.Cuda.Int.Mask"), + _×_ + (ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Int.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Indef.Cuda.Int.Dynamic.Tensor.Math.Pointwise.Signed")], + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName + "Torch.Sig.Index.Tensor") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Index.TensorFree") + (ModuleName + "Torch.FFI.THC.Long.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.Tensor") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.TensorFree") + (ModuleName + "Torch.FFI.THC.Byte.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Mask.MathReduce") + (ModuleName + "Torch.FFI.THC.Byte.TensorMathReduce"), + _×_ + (ModuleName "Torch.Sig.State") + (ModuleName + "Torch.FFI.THC.State"), + _×_ + (ModuleName + "Torch.Sig.Types.Global") + (ModuleName "Torch.Types.THC"), + _×_ + (ModuleName "Torch.Sig.Types") + (ModuleName + "Torch.Types.THC.Int"), + _×_ + (ModuleName "Torch.Sig.Storage") + (ModuleName + "Torch.FFI.THC.Int.Storage"), + _×_ + (ModuleName + "Torch.Sig.Storage.Copy") + (ModuleName + "Torch.FFI.THC.Int.StorageCopy"), + _×_ + (ModuleName + "Torch.Sig.Storage.Memory") + (ModuleName + "Torch.FFI.THC.Int.Storage"), + _×_ + (ModuleName "Torch.Sig.Tensor") + (ModuleName + "Torch.FFI.THC.Int.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Copy") + (ModuleName + "Torch.FFI.THC.Int.TensorCopy"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Memory") + (ModuleName + "Torch.FFI.THC.Int.Tensor"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Index") + (ModuleName + "Torch.FFI.THC.Int.TensorIndex"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Masked") + (ModuleName + "Torch.FFI.THC.Int.TensorMasked"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math") + (ModuleName + "Torch.FFI.THC.Int.TensorMath"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Compare") + (ModuleName + "Torch.FFI.THC.Int.TensorMathCompare"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.CompareT") + (ModuleName + "Torch.FFI.THC.Int.TensorMathCompareT"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pairwise") + (ModuleName + "Torch.FFI.THC.Int.TensorMathPairwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise") + (ModuleName + "Torch.FFI.THC.Int.TensorMathPointwise"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce") + (ModuleName + "Torch.FFI.THC.Int.TensorMathReduce"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Scan") + (ModuleName + "Torch.FFI.THC.Int.TensorMathScan"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Mode") + (ModuleName + "Torch.FFI.THC.Int.TensorMode"), + _×_ + (ModuleName + "Torch.Sig.Tensor.ScatterGather") + (ModuleName + "Torch.FFI.THC.Int.TensorScatterGather"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Sort") + (ModuleName + "Torch.FFI.THC.Int.TensorSort"), + _×_ + (ModuleName + "Torch.Sig.Tensor.TopK") + (ModuleName + "Torch.FFI.THC.Int.TensorTopK"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.FFI.THC.Int.TensorMathPointwise")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned")]))], + condTreeComponents = []}}]}, + _×_ + (UnqualComponentName + "hasktorch-indef-unsigned") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-indef-unsigned"), + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Index", + moduleReexportName = ModuleName + "Torch.Indef.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Mask", + moduleReexportName = ModuleName + "Torch.Indef.Mask"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Types", + moduleReexportName = ModuleName + "Torch.Indef.Types"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage", + moduleReexportName = ModuleName + "Torch.Indef.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Storage.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Print", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Print"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.TopK"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.TopK"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = [ + Mixin { + mixinPackageName = PackageName + "hasktorch-indef", + mixinLibraryName = LMainLibName, + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + DefaultRenaming, + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName "Torch.Sig.NN") + (ModuleName + "Torch.Undefined.NN"), + _×_ + (ModuleName + "Torch.Sig.Types.NN") + (ModuleName + "Torch.Undefined.Types.NN"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Blas") + (ModuleName + "Torch.Undefined.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Lapack") + (ModuleName + "Torch.Undefined.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Signed") + (ModuleName + "Torch.Undefined.Tensor.Math.Pointwise.Signed"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Random.TH") + (ModuleName + "Torch.Undefined.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.TH") + (ModuleName + "Torch.Undefined.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Tensor.Random.THC")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + _×_ + (UnqualComponentName + "hasktorch-indef-signed") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-indef-signed"), + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Index", + moduleReexportName = ModuleName + "Torch.Indef.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Mask", + moduleReexportName = ModuleName + "Torch.Indef.Mask"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Types", + moduleReexportName = ModuleName + "Torch.Indef.Types"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage", + moduleReexportName = ModuleName + "Torch.Indef.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Storage.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Print", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Print"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.TopK"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.TopK"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = [ + Mixin { + mixinPackageName = PackageName + "hasktorch-indef", + mixinLibraryName = LMainLibName, + mixinIncludeRenaming = + IncludeRenaming { + includeProvidesRn = + DefaultRenaming, + includeRequiresRn = + ModuleRenaming + [ + _×_ + (ModuleName "Torch.Sig.NN") + (ModuleName + "Torch.Undefined.NN"), + _×_ + (ModuleName + "Torch.Sig.Types.NN") + (ModuleName + "Torch.Undefined.Types.NN"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Blas") + (ModuleName + "Torch.Undefined.Tensor.Math.Blas"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Lapack") + (ModuleName + "Torch.Undefined.Tensor.Math.Lapack"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Pointwise.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Pointwise.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Reduce.Floating") + (ModuleName + "Torch.Undefined.Tensor.Math.Reduce.Floating"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Math.Random.TH") + (ModuleName + "Torch.Undefined.Tensor.Math.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.TH") + (ModuleName + "Torch.Undefined.Tensor.Random.TH"), + _×_ + (ModuleName + "Torch.Sig.Tensor.Random.THC") + (ModuleName + "Torch.Undefined.Tensor.Random.THC")]}}]}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + _×_ + (UnqualComponentName + "hasktorch-indef-floating") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName + "hasktorch-indef-floating"), + exposedModules = [], + reexportedModules = [ + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Index", + moduleReexportName = ModuleName + "Torch.Indef.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Mask", + moduleReexportName = ModuleName + "Torch.Indef.Mask"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName "Torch.Indef.Types", + moduleReexportName = ModuleName + "Torch.Indef.Types"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage", + moduleReexportName = ModuleName + "Torch.Indef.Storage"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Storage.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Storage.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Print", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Print"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.TopK"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Copy", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Copy"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Index", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Index"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Masked", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Masked"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Compare", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Compare"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.CompareT"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pairwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Scan", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Scan"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Mode", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Mode"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.ScatterGather", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.ScatterGather"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Sort", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Sort"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.TopK", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.TopK"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Signed"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Signed"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Blas", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Blas"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Lapack", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Lapack"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Pointwise.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Reduce.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Random.TH", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Random.THC", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Random.THC"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Random.TH", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.Tensor.Math.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Blas", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Blas"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Lapack", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Lapack"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Pointwise.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce.Floating", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Reduce.Floating"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Random.TH", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Random.THC", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Random.THC"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.Tensor.Math.Random.TH", + moduleReexportName = ModuleName + "Torch.Indef.Static.Tensor.Math.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.NN", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.NN.Activation", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Dynamic.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Indef.Dynamic.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Activation", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Activation"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Backprop", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Backprop"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Conv1d", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Conv1d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Conv2d", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Conv2d"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Criterion", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Criterion"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Layers", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Layers"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Linear", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Linear"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Math", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Math"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Padding", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Padding"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Pooling", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Pooling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Indef.Static.NN.Sampling", + moduleReexportName = ModuleName + "Torch.Indef.Static.NN.Sampling"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Undefined.Tensor.Math.Random.TH", + moduleReexportName = ModuleName + "Torch.Undefined.Tensor.Math.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Undefined.Tensor.Random.TH", + moduleReexportName = ModuleName + "Torch.Undefined.Tensor.Random.TH"}, + ModuleReexport { + moduleReexportOriginalPackage = + Nothing, + moduleReexportOriginalName = + ModuleName + "Torch.Undefined.Tensor.Random.THC", + moduleReexportName = ModuleName + "Torch.Undefined.Tensor.Random.THC"}], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch-indef") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName + "hasktorch-signatures-partial") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 0, 1])) + (LaterVersion + (mkVersion [0, 0, 1]))) + (EarlierVersion + (mkVersion [0, 0, 2]))) + mainLibSet], + condTreeComponents = []}], + condForeignLibs = [], + condExecutables = [ + _×_ + (UnqualComponentName + "isdefinite-cpu") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "isdefinite-cpu", + modulePath = "Noop.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "exe"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-cpu")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-cpu")]))], + condTreeComponents = []}, + _×_ + (UnqualComponentName + "isdefinite-gpu") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "isdefinite-gpu", + modulePath = "Noop.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "exe"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-gpu")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "hasktorch-gpu")]))], + condTreeComponents = []}, + _×_ + (UnqualComponentName + "isdefinite") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "isdefinite", + modulePath = "Noop.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "exe"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + _×_ + (UnqualComponentName "memcheck") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "memcheck", + modulePath = "Memcheck.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "exe"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}], + condTestSuites = [ + _×_ + (UnqualComponentName "spec") + CondNode { + condTreeData = TestSuite { + testName = UnqualComponentName + "", + testInterface = TestSuiteExeV10 + (mkVersion [1, 0]) + "Spec.hs", + testBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "tests"], + otherModules = [ + ModuleName "Orphans", + ModuleName "MemorySpec", + ModuleName "RawLapackSVDSpec", + ModuleName + "GarbageCollectionSpec", + ModuleName + "Torch.Prelude.Extras", + ModuleName + "Torch.Core.LogAddSpec", + ModuleName + "Torch.Core.RandomSpec", + ModuleName + "Torch.Static.NN.AbsSpec", + ModuleName + "Torch.Static.NN.LinearSpec"], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [ + EnableExtension LambdaCase, + EnableExtension DataKinds, + EnableExtension TypeFamilies, + EnableExtension + TypeSynonymInstances, + EnableExtension + ScopedTypeVariables, + EnableExtension + FlexibleContexts, + EnableExtension CPP], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "QuickCheck") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 11])) + (LaterVersion + (mkVersion [2, 11]))) + mainLibSet, + Dependency + (PackageName "backprop") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 2, 5])) + (LaterVersion + (mkVersion [0, 2, 5]))) + mainLibSet, + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName + "ghc-typelits-natnormalise") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "hspec") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 4, 4])) + (LaterVersion + (mkVersion [2, 4, 4]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "mtl") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 2, 2])) + (LaterVersion + (mkVersion [2, 2, 2]))) + mainLibSet, + Dependency + (PackageName + "microlens-platform") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 3, 10])) + (LaterVersion + (mkVersion [0, 3, 10]))) + mainLibSet, + Dependency + (PackageName "monad-loops") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 4, 3])) + (LaterVersion + (mkVersion [0, 4, 3]))) + mainLibSet, + Dependency + (PackageName "time") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 8, 0])) + (LaterVersion + (mkVersion [1, 8, 0]))) + mainLibSet, + Dependency + (PackageName "transformers") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 5, 5])) + (LaterVersion + (mkVersion [0, 5, 5]))) + mainLibSet, + Dependency + (PackageName "generic-lens") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "QuickCheck") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 11])) + (LaterVersion + (mkVersion [2, 11]))) + mainLibSet, + Dependency + (PackageName "backprop") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 2, 5])) + (LaterVersion + (mkVersion [0, 2, 5]))) + mainLibSet, + Dependency + (PackageName "base") + (IntersectVersionRanges + (UnionVersionRanges + (ThisVersion (mkVersion [4, 7])) + (LaterVersion + (mkVersion [4, 7]))) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "dimensions") + (UnionVersionRanges + (ThisVersion (mkVersion [1, 0])) + (LaterVersion + (mkVersion [1, 0]))) + mainLibSet, + Dependency + (PackageName + "ghc-typelits-natnormalise") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "hasktorch") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "hspec") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 4, 4])) + (LaterVersion + (mkVersion [2, 4, 4]))) + mainLibSet, + Dependency + (PackageName "singletons") + (UnionVersionRanges + (ThisVersion (mkVersion [2, 2])) + (LaterVersion + (mkVersion [2, 2]))) + mainLibSet, + Dependency + (PackageName "mtl") + (UnionVersionRanges + (ThisVersion + (mkVersion [2, 2, 2])) + (LaterVersion + (mkVersion [2, 2, 2]))) + mainLibSet, + Dependency + (PackageName + "microlens-platform") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 3, 10])) + (LaterVersion + (mkVersion [0, 3, 10]))) + mainLibSet, + Dependency + (PackageName "monad-loops") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 4, 3])) + (LaterVersion + (mkVersion [0, 4, 3]))) + mainLibSet, + Dependency + (PackageName "time") + (UnionVersionRanges + (ThisVersion + (mkVersion [1, 8, 0])) + (LaterVersion + (mkVersion [1, 8, 0]))) + mainLibSet, + Dependency + (PackageName "transformers") + (UnionVersionRanges + (ThisVersion + (mkVersion [0, 5, 5])) + (LaterVersion + (mkVersion [0, 5, 5]))) + mainLibSet, + Dependency + (PackageName "generic-lens") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-5846.expr b/Cabal-tests/tests/ParserTests/regressions/issue-5846.expr index e6d58997796..996d49e6625 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-5846.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-5846.expr @@ -1,171 +1,180 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "lib1") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName (UnqualComponentName "a"), - LSubLibName (UnqualComponentName "b")])), - Dependency - (PackageName "lib2") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName (UnqualComponentName "c")])), - Dependency - (PackageName "lib3") - (OrLaterVersion (mkVersion [1])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName (UnqualComponentName "d")])), - Dependency - (PackageName "lib4") - (OrLaterVersion (mkVersion [1])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName (UnqualComponentName "a"), - LSubLibName (UnqualComponentName "b")]))], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "lib1") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "a"), - LSubLibName - (UnqualComponentName - "b")])), - Dependency - (PackageName - "lib2") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "c")])), - Dependency - (PackageName - "lib3") - (OrLaterVersion - (mkVersion - [1])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "d")])), - Dependency - (PackageName - "lib4") - (OrLaterVersion - (mkVersion - [1])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "a"), - LSubLibName - (UnqualComponentName - "b")]))], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "issue", - pkgVersion = mkVersion [5846]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName "issue", + pkgVersion = mkVersion [5846]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "lib1") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "a"), + LSubLibName + (UnqualComponentName "b")])), + Dependency + (PackageName "lib2") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "c")])), + Dependency + (PackageName "lib3") + (OrLaterVersion (mkVersion [1])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "d")])), + Dependency + (PackageName "lib4") + (OrLaterVersion (mkVersion [1])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "a"), + LSubLibName + (UnqualComponentName "b")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "lib1") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "a"), + LSubLibName + (UnqualComponentName "b")])), + Dependency + (PackageName "lib2") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "c")])), + Dependency + (PackageName "lib3") + (OrLaterVersion (mkVersion [1])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "d")])), + Dependency + (PackageName "lib4") + (OrLaterVersion (mkVersion [1])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName "a"), + LSubLibName + (UnqualComponentName "b")]))], + condTreeComponents = []}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-6083-a.expr b/Cabal-tests/tests/ParserTests/regressions/issue-6083-a.expr index 17334cd5ca9..aa4f6492cd7 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-6083-a.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-6083-a.expr @@ -1,337 +1,370 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [_×_ - (UnqualComponentName "demo-a") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "sublib") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "sublib") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - exeName = UnqualComponentName "demo-a", - exeScope = ExecutablePublic, - modulePath = "Main.hs"}}, - _×_ - (UnqualComponentName "demo-b") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - exeName = UnqualComponentName "demo-b", - exeScope = ExecutablePublic, - modulePath = "Main.hs"}}], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [_×_ - (UnqualComponentName "sublib") - CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LSubLibName (UnqualComponentName "sublib"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "issue", - pkgVersion = mkVersion [6083]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_4, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_4, + package = PackageIdentifier { + pkgName = PackageName "issue", + pkgVersion = mkVersion [6083]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}, + condSubLibraries = [ + _×_ + (UnqualComponentName "sublib") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName "sublib"), + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}], + condForeignLibs = [], + condExecutables = [ + _×_ + (UnqualComponentName "demo-a") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "demo-a", + modulePath = "Main.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "sublib") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "sublib") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + _×_ + (UnqualComponentName "demo-b") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "demo-b", + modulePath = "Main.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-6083-b.expr b/Cabal-tests/tests/ParserTests/regressions/issue-6083-b.expr index bb0f583973c..208e17e41f0 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-6083-b.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-6083-b.expr @@ -1,344 +1,380 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [_×_ - (UnqualComponentName "demo-a") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - exeName = UnqualComponentName "demo-a", - exeScope = ExecutablePublic, - modulePath = "Main.hs"}}, - _×_ - (UnqualComponentName "demo-b") - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Executable - {buildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - exeName = UnqualComponentName "demo-b", - exeScope = ExecutablePublic, - modulePath = "Main.hs"}}], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [_×_ - (UnqualComponentName "sublib") - CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LSubLibName (UnqualComponentName "sublib"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "issue", - pkgVersion = mkVersion [6083]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName "issue", + pkgVersion = mkVersion [6083]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}, + condSubLibraries = [ + _×_ + (UnqualComponentName "sublib") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName "sublib"), + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}], + condForeignLibs = [], + condExecutables = [ + _×_ + (UnqualComponentName "demo-a") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "demo-a", + modulePath = "Main.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}, + _×_ + (UnqualComponentName "demo-b") + CondNode { + condTreeData = Executable { + exeName = UnqualComponentName + "demo-b", + modulePath = "Main.hs", + exeScope = ExecutablePublic, + buildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-6083-c.expr b/Cabal-tests/tests/ParserTests/regressions/issue-6083-c.expr index b453415ac40..5cf5a7c1db8 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-6083-c.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-6083-c.expr @@ -1,183 +1,202 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "issue") - (OrLaterVersion (mkVersion [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName "sublib")]))], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "issue") - (OrLaterVersion - (mkVersion - [0])) - (NonEmptySet.fromNonEmpty - (NE.fromList - [LSubLibName - (UnqualComponentName - "sublib")]))], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [_×_ - (UnqualComponentName "sublib") - CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] [], - sharedOptions = PerCompilerFlavor - [] [], - staticOptions = PerCompilerFlavor - [] [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LSubLibName (UnqualComponentName "sublib"), - libVisibility = LibraryVisibilityPrivate, - reexportedModules = [], - signatures = []}}], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "issue", - pkgVersion = mkVersion [6083]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV2_4, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV2_4, + package = PackageIdentifier { + pkgName = PackageName "issue", + pkgVersion = mkVersion [6083]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "issue") + (OrLaterVersion (mkVersion [0])) + (NonEmptySet.fromNonEmpty + (NE.fromList + [ + LSubLibName + (UnqualComponentName + "sublib")]))], + condTreeComponents = []}, + condSubLibraries = [ + _×_ + (UnqualComponentName "sublib") + CondNode { + condTreeData = Library { + libName = LSubLibName + (UnqualComponentName "sublib"), + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPrivate, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/issue-6083-pkg-pkg.expr b/Cabal-tests/tests/ParserTests/regressions/issue-6083-pkg-pkg.expr index a86109c4d92..b436742cd03 100644 --- a/Cabal-tests/tests/ParserTests/regressions/issue-6083-pkg-pkg.expr +++ b/Cabal-tests/tests/ParserTests/regressions/issue-6083-pkg-pkg.expr @@ -1,117 +1,124 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "freetype") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "freetype") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Just Haskell2010, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor [] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "freetype") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "freetype") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "", - copyright = "", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "", - library = Nothing, - licenseFiles = [], - licenseRaw = Left NONE, - maintainer = "", - package = PackageIdentifier - {pkgName = PackageName "issue", - pkgVersion = mkVersion [6083]}, - pkgUrl = "", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName "issue", + pkgVersion = mkVersion [6083]}, + licenseRaw = Left NONE, + licenseFiles = [], + copyright = "", + maintainer = "", + author = "", + stability = "", + testedWith = [], + homepage = "", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = "", + description = "", + category = "", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Just + Haskell2010, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "freetype") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "freetype") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "freetype") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "freetype") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/libpq1.expr b/Cabal-tests/tests/ParserTests/regressions/libpq1.expr index cad1cfc69bf..954c378122c 100644 --- a/Cabal-tests/tests/ParserTests/regressions/libpq1.expr +++ b/Cabal-tests/tests/ParserTests/regressions/libpq1.expr @@ -1,709 +1,741 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `CNot (Var (OS Windows))`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "unix") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 4, - 2, - 0])) - (EarlierVersion - (mkVersion - [2, - 8]))) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "unix") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 4, - 2, - 0])) - (EarlierVersion - (mkVersion - [2, - 8]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}, - CondBranch - {condBranchCondition = `Var (OS Windows)`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "Win32") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 2, - 0, - 2])) - (EarlierVersion - (mkVersion - [2, - 7]))) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "Win32") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 2, - 0, - 2])) - (EarlierVersion - (mkVersion - [2, - 7]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}, - CondBranch - {condBranchCondition = `Var (PackageFlag (FlagName "use-pkg-config"))`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (OS Windows)`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (OS OpenBSD)`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["crypto", - "ssl"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["pq"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["libpq"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [PkgconfigDependency - (PkgconfigName - "libpq") - (PcIntersectVersionRanges - (PcOrLaterVersion - (PkgconfigVersion - "9")) - (PcEarlierVersion - (PkgconfigVersion - "10")))], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (OrLaterVersion (mkVersion [4, 3])) - (EarlierVersion (mkVersion [4, 13]))) - mainLibSet, - Dependency - (PackageName "bytestring") - (IntersectVersionRanges - (OrLaterVersion (mkVersion [0, 9, 1, 0])) - (EarlierVersion (mkVersion [0, 11]))) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "Database.PostgreSQL.LibPQ", - ModuleName - "Database.PostgreSQL.LibPQ.Internal"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [LegacyExeDependency - "hsc2hs" - (OrLaterVersion - (mkVersion [0]))], - buildable = True, - cSources = ["cbits/noticehandlers.c"], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "src"], - hsc2hsOptions = [], - includeDirs = ["cbits"], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor ["-Wall"] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [4, 3])) - (EarlierVersion - (mkVersion - [4, - 13]))) - mainLibSet, - Dependency - (PackageName - "bytestring") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [0, - 9, - 1, - 0])) - (EarlierVersion - (mkVersion - [0, - 11]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [MkPackageFlag - {flagDefault = False, - flagDescription = "", - flagManual = True, - flagName = FlagName "use-pkg-config"}], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "Grant Monroe, Leon P Smith, Joey Adams", - benchmarks = [], - bugReports = "", - buildTypeRaw = Just Custom, - category = "Database", - copyright = concat - ["(c) 2010 Grant Monroe\n", "(c) 2011 Leon P Smith"], - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = concat - ["This is a binding to libpq: the C application\n", - "programmer's interface to PostgreSQL. libpq is a\n", - "set of library functions that allow client\n", - "programs to pass queries to the PostgreSQL\n", - "backend server and to receive the results of\n", - "these queries."], - executables = [], - extraDocFiles = [], - extraSrcFiles = ["cbits/noticehandlers.h", "CHANGELOG.md"], - extraTmpFiles = [], - foreignLibs = [], - homepage = "https://github.com/phadej/postgresql-libpq", - library = Nothing, - licenseFiles = [SymbolicPath "LICENSE"], - licenseRaw = Right BSD3, - maintainer = "Oleg Grenrus ", - package = PackageIdentifier - {pkgName = PackageName "postgresql-libpq", - pkgVersion = mkVersion [0, 9, 4, 2]}, - pkgUrl = "", - setupBuildInfo = Just - SetupBuildInfo - {defaultSetupDepends = False, - setupDepends = [Dependency - (PackageName "base") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion [4, 3])) - (EarlierVersion - (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "Cabal") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion [1, 10])) - (EarlierVersion - (mkVersion [2, 5]))) - mainLibSet]}, - sourceRepos = [], - specVersion = CabalSpecV1_8, - stability = "", - subLibraries = [], - synopsis = "low-level binding to libpq", - testSuites = [], - testedWith = [_×_ GHC (ThisVersion (mkVersion [7, 0, 4])), - _×_ GHC (ThisVersion (mkVersion [7, 2, 2])), - _×_ GHC (ThisVersion (mkVersion [7, 4, 2])), - _×_ GHC (ThisVersion (mkVersion [7, 6, 3])), - _×_ GHC (ThisVersion (mkVersion [7, 8, 4])), - _×_ GHC (ThisVersion (mkVersion [7, 10, 3])), - _×_ GHC (ThisVersion (mkVersion [8, 0, 2])), - _×_ GHC (ThisVersion (mkVersion [8, 2, 2])), - _×_ GHC (ThisVersion (mkVersion [8, 4, 3])), - _×_ GHC (ThisVersion (mkVersion [8, 6, 1]))]}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV1_8, + package = PackageIdentifier { + pkgName = PackageName + "postgresql-libpq", + pkgVersion = mkVersion + [0, 9, 4, 2]}, + licenseRaw = Right BSD3, + licenseFiles = [ + SymbolicPath "LICENSE"], + copyright = concat + [ + "(c) 2010 Grant Monroe\n", + "(c) 2011 Leon P Smith"], + maintainer = + "Oleg Grenrus ", + author = + "Grant Monroe, Leon P Smith, Joey Adams", + stability = "", + testedWith = [ + _×_ + GHC + (ThisVersion + (mkVersion [7, 0, 4])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 2, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 4, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 6, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 8, 4])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 10, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 0, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 2, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 4, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 6, 1]))], + homepage = + "https://github.com/phadej/postgresql-libpq", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = + "low-level binding to libpq", + description = concat + [ + "This is a binding to libpq: the C application\n", + "programmer's interface to PostgreSQL. libpq is a\n", + "set of library functions that allow client\n", + "programs to pass queries to the PostgreSQL\n", + "backend server and to receive the results of\n", + "these queries."], + category = "Database", + customFieldsPD = [], + buildTypeRaw = Just Custom, + setupBuildInfo = Just + SetupBuildInfo { + setupDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "Cabal") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [1, 10])) + (EarlierVersion + (mkVersion [2, 5]))) + mainLibSet], + defaultSetupDepends = False}, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [ + "cbits/noticehandlers.h", + "CHANGELOG.md"], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [ + MkPackageFlag { + flagName = FlagName + "use-pkg-config", + flagDescription = "", + flagDefault = False, + flagManual = True}], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [ + ModuleName + "Database.PostgreSQL.LibPQ", + ModuleName + "Database.PostgreSQL.LibPQ.Internal"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [ + LegacyExeDependency + "hsc2hs" + (OrLaterVersion + (mkVersion [0]))], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [ + "cbits/noticehandlers.c"], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "src"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = ["cbits"], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + ["-Wall"] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [4, 13]))) + mainLibSet, + Dependency + (PackageName "bytestring") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [0, 9, 1, 0])) + (EarlierVersion + (mkVersion [0, 11]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [4, 13]))) + mainLibSet, + Dependency + (PackageName "bytestring") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [0, 9, 1, 0])) + (EarlierVersion + (mkVersion [0, 11]))) + mainLibSet], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `CNot (Var (OS Windows))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "unix") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 4, 2, 0])) + (EarlierVersion + (mkVersion [2, 8]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "unix") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 4, 2, 0])) + (EarlierVersion + (mkVersion [2, 8]))) + mainLibSet], + condTreeComponents = []}, + condBranchIfFalse = Nothing}, + CondBranch { + condBranchCondition = + `Var (OS Windows)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "Win32") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 2, 0, 2])) + (EarlierVersion + (mkVersion [2, 7]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "Win32") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 2, 0, 2])) + (EarlierVersion + (mkVersion [2, 7]))) + mainLibSet], + condTreeComponents = []}, + condBranchIfFalse = Nothing}, + CondBranch { + condBranchCondition = + `Var (PackageFlag (FlagName "use-pkg-config"))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [ + PkgconfigDependency + (PkgconfigName "libpq") + (PcIntersectVersionRanges + (PcOrLaterVersion + (PkgconfigVersion "9")) + (PcEarlierVersion + (PkgconfigVersion "10")))], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `Var (OS Windows)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["libpq"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["pq"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `Var (OS OpenBSD)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["crypto", "ssl"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = + Nothing}]}}]}}]}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/libpq2.expr b/Cabal-tests/tests/ParserTests/regressions/libpq2.expr index a5917a6a6c5..0b1c1ccd528 100644 --- a/Cabal-tests/tests/ParserTests/regressions/libpq2.expr +++ b/Cabal-tests/tests/ParserTests/regressions/libpq2.expr @@ -1,710 +1,743 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `CNot (Var (OS Windows))`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "unix") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 4, - 2, - 0])) - (EarlierVersion - (mkVersion - [2, - 8]))) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "unix") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 4, - 2, - 0])) - (EarlierVersion - (mkVersion - [2, - 8]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}, - CondBranch - {condBranchCondition = `Var (OS Windows)`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName - "Win32") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 2, - 0, - 2])) - (EarlierVersion - (mkVersion - [2, - 7]))) - mainLibSet], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [Dependency - (PackageName - "Win32") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [2, - 2, - 0, - 2])) - (EarlierVersion - (mkVersion - [2, - 7]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}, - CondBranch - {condBranchCondition = `Var (PackageFlag (FlagName "use-pkg-config"))`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (OS Windows)`, - condBranchIfFalse = Just - CondNode - {condTreeComponents = [CondBranch - {condBranchCondition = `Var (OS OpenBSD)`, - condBranchIfFalse = Nothing, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["crypto", - "ssl"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["pq"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = ["libpq"], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condBranchIfTrue = CondNode - {condTreeComponents = [], - condTreeConstraints = [], - condTreeData = Library - {exposedModules = [], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor - [] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [PkgconfigDependency - (PkgconfigName - "libpq") - (PcOrLaterVersion - (PkgconfigVersion - "9.3h"))], - profOptions = PerCompilerFlavor - [] - [], - sharedOptions = PerCompilerFlavor - [] - [], - staticOptions = PerCompilerFlavor - [] - [], - targetBuildDepends = [], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}}], - condTreeConstraints = [Dependency - (PackageName "base") - (IntersectVersionRanges - (OrLaterVersion (mkVersion [4, 3])) - (EarlierVersion (mkVersion [4, 13]))) - mainLibSet, - Dependency - (PackageName "bytestring") - (IntersectVersionRanges - (OrLaterVersion (mkVersion [0, 9, 1, 0])) - (EarlierVersion (mkVersion [0, 11]))) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "Database.PostgreSQL.LibPQ", - ModuleName - "Database.PostgreSQL.LibPQ.Internal"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [ExeDependency - (PackageName - "hsc2hs") - (UnqualComponentName - "hsc2hs") - (OrLaterVersion - (mkVersion - [0]))], - buildTools = [], - buildable = True, - cSources = ["cbits/noticehandlers.c"], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibDirsStatic = [], - extraLibFlavours = [], - extraLibs = [], - extraLibsStatic = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "src"], - hsc2hsOptions = [], - includeDirs = ["cbits"], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [], - options = PerCompilerFlavor ["-Wall"] [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [4, 3])) - (EarlierVersion - (mkVersion - [4, - 13]))) - mainLibSet, - Dependency - (PackageName - "bytestring") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion - [0, - 9, - 1, - 0])) - (EarlierVersion - (mkVersion - [0, - 11]))) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [MkPackageFlag - {flagDefault = False, - flagDescription = "", - flagManual = True, - flagName = FlagName "use-pkg-config"}], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "Grant Monroe, Leon P Smith, Joey Adams", - benchmarks = [], - bugReports = "", - buildTypeRaw = Just Custom, - category = "Database", - copyright = concat - ["(c) 2010 Grant Monroe\n", "(c) 2011 Leon P Smith"], - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = concat - ["This is a binding to libpq: the C application\n", - "programmer's interface to PostgreSQL. libpq is a\n", - "set of library functions that allow client\n", - "programs to pass queries to the PostgreSQL\n", - "backend server and to receive the results of\n", - "these queries."], - executables = [], - extraDocFiles = [], - extraSrcFiles = ["cbits/noticehandlers.h", "CHANGELOG.md"], - extraTmpFiles = [], - foreignLibs = [], - homepage = "https://github.com/phadej/postgresql-libpq", - library = Nothing, - licenseFiles = [SymbolicPath "LICENSE"], - licenseRaw = Left - (License (ELicense (ELicenseId BSD_3_Clause) Nothing)), - maintainer = "Oleg Grenrus ", - package = PackageIdentifier - {pkgName = PackageName "postgresql-libpq", - pkgVersion = mkVersion [0, 9, 4, 2]}, - pkgUrl = "", - setupBuildInfo = Just - SetupBuildInfo - {defaultSetupDepends = False, - setupDepends = [Dependency - (PackageName "base") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion [4, 3])) - (EarlierVersion - (mkVersion [5]))) - mainLibSet, - Dependency - (PackageName "Cabal") - (IntersectVersionRanges - (OrLaterVersion - (mkVersion [1, 10])) - (EarlierVersion - (mkVersion [2, 5]))) - mainLibSet]}, - sourceRepos = [], - specVersion = CabalSpecV3_0, - stability = "", - subLibraries = [], - synopsis = "low-level binding to libpq", - testSuites = [], - testedWith = [_×_ GHC (ThisVersion (mkVersion [7, 0, 4])), - _×_ GHC (ThisVersion (mkVersion [7, 2, 2])), - _×_ GHC (ThisVersion (mkVersion [7, 4, 2])), - _×_ GHC (ThisVersion (mkVersion [7, 6, 3])), - _×_ GHC (ThisVersion (mkVersion [7, 8, 4])), - _×_ GHC (ThisVersion (mkVersion [7, 10, 3])), - _×_ GHC (ThisVersion (mkVersion [8, 0, 2])), - _×_ GHC (ThisVersion (mkVersion [8, 2, 2])), - _×_ GHC (ThisVersion (mkVersion [8, 4, 3])), - _×_ GHC (ThisVersion (mkVersion [8, 6, 1]))]}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV3_0, + package = PackageIdentifier { + pkgName = PackageName + "postgresql-libpq", + pkgVersion = mkVersion + [0, 9, 4, 2]}, + licenseRaw = Left + (License + (ELicense + (ELicenseId BSD_3_Clause) + Nothing)), + licenseFiles = [ + SymbolicPath "LICENSE"], + copyright = concat + [ + "(c) 2010 Grant Monroe\n", + "(c) 2011 Leon P Smith"], + maintainer = + "Oleg Grenrus ", + author = + "Grant Monroe, Leon P Smith, Joey Adams", + stability = "", + testedWith = [ + _×_ + GHC + (ThisVersion + (mkVersion [7, 0, 4])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 2, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 4, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 6, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 8, 4])), + _×_ + GHC + (ThisVersion + (mkVersion [7, 10, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 0, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 2, 2])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 4, 3])), + _×_ + GHC + (ThisVersion + (mkVersion [8, 6, 1]))], + homepage = + "https://github.com/phadej/postgresql-libpq", + pkgUrl = "", + bugReports = "", + sourceRepos = [], + synopsis = + "low-level binding to libpq", + description = concat + [ + "This is a binding to libpq: the C application\n", + "programmer's interface to PostgreSQL. libpq is a\n", + "set of library functions that allow client\n", + "programs to pass queries to the PostgreSQL\n", + "backend server and to receive the results of\n", + "these queries."], + category = "Database", + customFieldsPD = [], + buildTypeRaw = Just Custom, + setupBuildInfo = Just + SetupBuildInfo { + setupDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [5]))) + mainLibSet, + Dependency + (PackageName "Cabal") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [1, 10])) + (EarlierVersion + (mkVersion [2, 5]))) + mainLibSet], + defaultSetupDepends = False}, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [ + "cbits/noticehandlers.h", + "CHANGELOG.md"], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [ + MkPackageFlag { + flagName = FlagName + "use-pkg-config", + flagDescription = "", + flagDefault = False, + flagManual = True}], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [ + ModuleName + "Database.PostgreSQL.LibPQ", + ModuleName + "Database.PostgreSQL.LibPQ.Internal"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [ + ExeDependency + (PackageName "hsc2hs") + (UnqualComponentName "hsc2hs") + (OrLaterVersion + (mkVersion [0]))], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [ + "cbits/noticehandlers.c"], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "src"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = ["cbits"], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + ["-Wall"] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [4, 13]))) + mainLibSet, + Dependency + (PackageName "bytestring") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [0, 9, 1, 0])) + (EarlierVersion + (mkVersion [0, 11]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [4, 3])) + (EarlierVersion + (mkVersion [4, 13]))) + mainLibSet, + Dependency + (PackageName "bytestring") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [0, 9, 1, 0])) + (EarlierVersion + (mkVersion [0, 11]))) + mainLibSet], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `CNot (Var (OS Windows))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "unix") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 4, 2, 0])) + (EarlierVersion + (mkVersion [2, 8]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "unix") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 4, 2, 0])) + (EarlierVersion + (mkVersion [2, 8]))) + mainLibSet], + condTreeComponents = []}, + condBranchIfFalse = Nothing}, + CondBranch { + condBranchCondition = + `Var (OS Windows)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "Win32") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 2, 0, 2])) + (EarlierVersion + (mkVersion [2, 7]))) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "Win32") + (IntersectVersionRanges + (OrLaterVersion + (mkVersion [2, 2, 0, 2])) + (EarlierVersion + (mkVersion [2, 7]))) + mainLibSet], + condTreeComponents = []}, + condBranchIfFalse = Nothing}, + CondBranch { + condBranchCondition = + `Var (PackageFlag (FlagName "use-pkg-config"))`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [ + PkgconfigDependency + (PkgconfigName "libpq") + (PcOrLaterVersion + (PkgconfigVersion "9.3h"))], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `Var (OS Windows)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["libpq"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["pq"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = [ + CondBranch { + condBranchCondition = + `Var (OS OpenBSD)`, + condBranchIfTrue = CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [], + extraLibs = ["crypto", "ssl"], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [], + mixins = []}}, + condTreeConstraints = [], + condTreeComponents = []}, + condBranchIfFalse = + Nothing}]}}]}}]}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} diff --git a/Cabal-tests/tests/ParserTests/regressions/monad-param.expr b/Cabal-tests/tests/ParserTests/regressions/monad-param.expr index 962fa335430..0f94cf3be9d 100644 --- a/Cabal-tests/tests/ParserTests/regressions/monad-param.expr +++ b/Cabal-tests/tests/ParserTests/regressions/monad-param.expr @@ -1,143 +1,158 @@ -GenericPackageDescription - {condBenchmarks = [], - condExecutables = [], - condForeignLibs = [], - condLibrary = Just - CondNode - {condTreeComponents = [], - condTreeConstraints = [Dependency - (PackageName "base") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "mtl") - (OrLaterVersion (mkVersion [0])) - mainLibSet, - Dependency - (PackageName "stm") - (OrLaterVersion (mkVersion [0])) - mainLibSet], - condTreeData = Library - {exposedModules = [ModuleName "Control.Monad.Parameterized"], - libBuildInfo = BuildInfo - {asmOptions = [], - asmSources = [], - autogenIncludes = [], - autogenModules = [], - buildToolDepends = [], - buildTools = [], - buildable = True, - cSources = [], - ccOptions = [], - cmmOptions = [], - cmmSources = [], - cppOptions = [], - customFieldsBI = [], - cxxOptions = [], - cxxSources = [], - defaultExtensions = [], - defaultLanguage = Nothing, - extraBundledLibs = [], - extraDynLibFlavours = [], - extraFrameworkDirs = [], - extraGHCiLibs = [], - extraLibDirs = [], - extraLibFlavours = [], - extraLibs = [], - frameworks = [], - hsSourceDirs = [SymbolicPath "src"], - hsc2hsOptions = [], - includeDirs = [], - includes = [], - installIncludes = [], - jsSources = [], - ldOptions = [], - mixins = [], - oldExtensions = [EnableExtension - MultiParamTypeClasses, - EnableExtension - FunctionalDependencies, - EnableExtension - OverlappingInstances, - EnableExtension - UndecidableInstances, - EnableExtension - EmptyDataDecls, - DisableExtension - ImplicitPrelude], - options = PerCompilerFlavor - ["-funbox-strict-fields", - "-threaded", - "-fasm"] - [], - otherExtensions = [], - otherLanguages = [], - otherModules = [], - pkgconfigDepends = [], - profOptions = PerCompilerFlavor [] [], - sharedOptions = PerCompilerFlavor [] [], - staticOptions = PerCompilerFlavor [] [], - targetBuildDepends = [Dependency - (PackageName - "base") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "mtl") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet, - Dependency - (PackageName - "stm") - (OrLaterVersion - (mkVersion - [0])) - mainLibSet], - virtualModules = []}, - libExposed = True, - libName = LMainLibName, - libVisibility = LibraryVisibilityPublic, - reexportedModules = [], - signatures = []}}, - condSubLibraries = [], - condTestSuites = [], - genPackageFlags = [], - gpdScannedVersion = Nothing, - packageDescription = PackageDescription - {author = "Edward Kmett ", - benchmarks = [], - bugReports = "", - buildTypeRaw = Nothing, - category = "Control", - copyright = "Copyright (C) 2006-2007, Edward Kmett", - customFieldsPD = [], - dataDir = ".", - dataFiles = [], - description = "Implements parameterized monads by overloading the monad sugar with more liberal types.", - executables = [], - extraDocFiles = [], - extraSrcFiles = [], - extraTmpFiles = [], - foreignLibs = [], - homepage = "http://comonad.com/haskell/monad-param/dist/doc/html/Control-Monad-Parameterized.html", - library = Nothing, - licenseFiles = [SymbolicPath "LICENSE"], - licenseRaw = Right BSD3, - maintainer = "Edward Kmett ", - package = PackageIdentifier - {pkgName = PackageName "monad-param", - pkgVersion = mkVersion [0, 0, 1]}, - pkgUrl = "http://comonad.com/haskell/monad-param", - setupBuildInfo = Nothing, - sourceRepos = [], - specVersion = CabalSpecV1_0, - stability = "alpha", - subLibraries = [], - synopsis = "Parameterized monads", - testSuites = [], - testedWith = []}} +GenericPackageDescription { + packageDescription = + PackageDescription { + specVersion = CabalSpecV1_0, + package = PackageIdentifier { + pkgName = PackageName + "monad-param", + pkgVersion = mkVersion + [0, 0, 1]}, + licenseRaw = Right BSD3, + licenseFiles = [ + SymbolicPath "LICENSE"], + copyright = + "Copyright (C) 2006-2007, Edward Kmett", + maintainer = + "Edward Kmett ", + author = + "Edward Kmett ", + stability = "alpha", + testedWith = [], + homepage = + "http://comonad.com/haskell/monad-param/dist/doc/html/Control-Monad-Parameterized.html", + pkgUrl = + "http://comonad.com/haskell/monad-param", + bugReports = "", + sourceRepos = [], + synopsis = + "Parameterized monads", + description = + "Implements parameterized monads by overloading the monad sugar with more liberal types.", + category = "Control", + customFieldsPD = [], + buildTypeRaw = Nothing, + setupBuildInfo = Nothing, + library = Nothing, + subLibraries = [], + executables = [], + foreignLibs = [], + testSuites = [], + benchmarks = [], + dataFiles = [], + dataDir = ".", + extraSrcFiles = [], + extraTmpFiles = [], + extraDocFiles = []}, + gpdScannedVersion = Nothing, + genPackageFlags = [], + condLibrary = Just + CondNode { + condTreeData = Library { + libName = LMainLibName, + exposedModules = [ + ModuleName + "Control.Monad.Parameterized"], + reexportedModules = [], + signatures = [], + libExposed = True, + libVisibility = + LibraryVisibilityPublic, + libBuildInfo = BuildInfo { + buildable = True, + buildTools = [], + buildToolDepends = [], + cppOptions = [], + asmOptions = [], + cmmOptions = [], + ccOptions = [], + cxxOptions = [], + ldOptions = [], + hsc2hsOptions = [], + pkgconfigDepends = [], + frameworks = [], + extraFrameworkDirs = [], + asmSources = [], + cmmSources = [], + cSources = [], + cxxSources = [], + jsSources = [], + hsSourceDirs = [ + SymbolicPath "src"], + otherModules = [], + virtualModules = [], + autogenModules = [], + defaultLanguage = Nothing, + otherLanguages = [], + defaultExtensions = [], + otherExtensions = [], + oldExtensions = [ + EnableExtension + MultiParamTypeClasses, + EnableExtension + FunctionalDependencies, + EnableExtension + OverlappingInstances, + EnableExtension + UndecidableInstances, + EnableExtension EmptyDataDecls, + DisableExtension + ImplicitPrelude], + extraLibs = [], + extraLibsStatic = [], + extraGHCiLibs = [], + extraBundledLibs = [], + extraLibFlavours = [], + extraDynLibFlavours = [], + extraLibDirs = [], + extraLibDirsStatic = [], + includeDirs = [], + includes = [], + autogenIncludes = [], + installIncludes = [], + options = PerCompilerFlavor + [ + "-funbox-strict-fields", + "-threaded", + "-fasm"] + [], + profOptions = PerCompilerFlavor + [] + [], + sharedOptions = + PerCompilerFlavor [] [], + staticOptions = + PerCompilerFlavor [] [], + customFieldsBI = [], + targetBuildDepends = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "mtl") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "stm") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + mixins = []}}, + condTreeConstraints = [ + Dependency + (PackageName "base") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "mtl") + (OrLaterVersion (mkVersion [0])) + mainLibSet, + Dependency + (PackageName "stm") + (OrLaterVersion (mkVersion [0])) + mainLibSet], + condTreeComponents = []}, + condSubLibraries = [], + condForeignLibs = [], + condExecutables = [], + condTestSuites = [], + condBenchmarks = []} From 81f98c49af5ff9035574eecc07466577aa5f26db Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Sat, 14 Aug 2021 10:07:41 +0200 Subject: [PATCH 4/6] Changelog entry --- Cabal/ChangeLog.md | 3 +++ release-notes/Cabal-3.8.0.0.md | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 release-notes/Cabal-3.8.0.0.md diff --git a/Cabal/ChangeLog.md b/Cabal/ChangeLog.md index e9de41ae9cc..2a574305b1c 100644 --- a/Cabal/ChangeLog.md +++ b/Cabal/ChangeLog.md @@ -1,3 +1,6 @@ +# 3.8.0.0 [Emily Pillmore](mailgo:emilypi@cohomolo.gy) _Month _Year + * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.8.0.0.md + # 3.6.0.0 [Emily Pillmore](mailgo:emilypi@cohomolo.gy) August 2021 * See https://github.com/haskell/cabal/blob/master/release-notes/Cabal-3.6.0.0.md diff --git a/release-notes/Cabal-3.8.0.0.md b/release-notes/Cabal-3.8.0.0.md new file mode 100644 index 00000000000..2756103c34c --- /dev/null +++ b/release-notes/Cabal-3.8.0.0.md @@ -0,0 +1,13 @@ +Cabal 3.6.0.0 Changelog +--- + + +- Added fields :pkg-field:`extra-libraries-static` and + :pkg-field:`extra-lib-dirs-static` to allow Haskell libraries to remember + linker flags needed for fully static linking of system libraries into executables. [#7536](https://github.com/haskell/cabal/pull/7536) + +- The existing field :pkg-field:`pkgconfig-depends` can used to append the relevant + output of ``pkg-config --libs --static`` to these new fields automatically. + When :pkg-field:`extra-libraries-static` is not given, it defaults to + :pkg-field:`extra-libraries`. When :pkg-field:`extra-lib-dirs-static` is not + given, it defaults to :pkg-field:`extra-lib-dirs`. [#7536](https://github.com/haskell/cabal/pull/7536) From 7f9e5de1b9189f2211b35b5bfd878d4b1ad4f3a0 Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Sat, 14 Aug 2021 11:46:09 +0200 Subject: [PATCH 5/6] Documentation update --- doc/buildinfo-fields-reference.rst | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/doc/buildinfo-fields-reference.rst b/doc/buildinfo-fields-reference.rst index 48419d981e0..1fdf055f1c7 100644 --- a/doc/buildinfo-fields-reference.rst +++ b/doc/buildinfo-fields-reference.rst @@ -86,10 +86,10 @@ Field syntax is described as they are in the latest cabal file format version. .. math:: - + \mathbf{fix}\; \mathit{expr}\; \mathbf{in}\; \mathit{digit} \mid \mathit{expr} \circ \mathord{``}\mathtt{+}\mathord{"} \circ \mathit{expr} - \mid \mathord{``}\mathtt{(} \mathord{"} \circ \mathit{expr} \circ \mathord{``}\mathtt{)}\mathord{"} + \mid \mathord{``}\mathtt{(} \mathord{"} \circ \mathit{expr} \circ \mathord{``}\mathtt{)}\mathord{"} Lists ----- @@ -336,6 +336,13 @@ extra-lib-dirs .. math:: \mathrm{optcommalist}\left\{ \mathop{\mathit{hs\text{-}string}}\mid{{[\mathop{\mathord{``}\mathtt{\ }\mathord{"}}\mathop{\mathord{``}\mathtt{\text{,}}\mathord{"}}]^c}}^+_{} \right\} +extra-lib-dirs-static + * Monoidal field + * Documentation of :pkg-field:`extra-lib-dirs-static` + + .. math:: + \mathrm{optcommalist}\left\{ \mathop{\mathit{hs\text{-}string}}\mid{{[\mathop{\mathord{``}\mathtt{\ }\mathord{"}}\mathop{\mathord{``}\mathtt{\text{,}}\mathord{"}}]^c}}^+_{} \right\} + extra-libraries * Monoidal field * Documentation of :pkg-field:`extra-libraries` @@ -350,6 +357,13 @@ extra-library-flavours .. math:: \mathrm{commalist}\left\{ \mathop{\mathit{hs\text{-}string}}\mid{{[\mathop{\mathord{``}\mathtt{\ }\mathord{"}}\mathop{\mathord{``}\mathtt{\text{,}}\mathord{"}}]^c}}^+_{} \right\} +extra-libraries + * Monoidal field + * Documentation of :pkg-field:`extra-libraries-static` + + .. math:: + \mathrm{commalist}\left\{ \mathop{\mathit{hs\text{-}string}}\mid{{[\mathop{\mathord{``}\mathtt{\ }\mathord{"}}\mathop{\mathord{``}\mathtt{\text{,}}\mathord{"}}]^c}}^+_{} \right\} + frameworks * Monoidal field * Documentation of :pkg-field:`frameworks` @@ -650,5 +664,3 @@ type .. math:: \left\{ \mathop{\mathord{``}\mathtt{exitcode\text{-}stdio\text{-}1\text{.}0}\mathord{"}}\mid\mathop{\mathord{``}\mathtt{detailed\text{-}0\text{.}9}\mathord{"}} \right\} - - From 324590f8ea18b9567886b75f59f9e460fccbfc87 Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Sat, 14 Aug 2021 11:55:24 +0200 Subject: [PATCH 6/6] Add another Changelog entry --- changelog.d/pr-7536 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changelog.d/pr-7536 diff --git a/changelog.d/pr-7536 b/changelog.d/pr-7536 new file mode 100644 index 00000000000..d4596fbde74 --- /dev/null +++ b/changelog.d/pr-7536 @@ -0,0 +1,4 @@ +synopsis: Add fields extra-libraries-static and extra-lib-dirs-static +packages: Cabal +prs: #7536 +issues: #7399, #6688