From 2f9d13bf028cf77ed9808b44429a0354511cd194 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:08:40 -0400 Subject: [PATCH 01/32] Follow redirect: https://docs.servant.dev/en/stable/ Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/1-tutorials/1-web-services/0-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/1-tutorials/1-web-services/0-overview.md b/docs/1-tutorials/1-web-services/0-overview.md index abd46895..7ae73f02 100644 --- a/docs/1-tutorials/1-web-services/0-overview.md +++ b/docs/1-tutorials/1-web-services/0-overview.md @@ -6,7 +6,7 @@ ## Servant -We will be using the [Servant](http://haskell-servant.readthedocs.io/en/stable/) web framework to demonstrate how to write web applications in Eta. +We will be using the [Servant](https://docs.servant.dev/en/stable/) web framework to demonstrate how to write web applications in Eta. Servant uses the powerful strong typing features of Eta to provide a type-safe DSL that allows you to write web applications and services in a rock-solid way. From b03f91ef6c8524122245514226bc8ad981bf27df Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:18:22 -0400 Subject: [PATCH 02/32] Follow redirect: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/type-class-extensions.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Types/InstEnv.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Types/InstEnv.hs b/compiler/Eta/Types/InstEnv.hs index 9d92197e..314960a5 100644 --- a/compiler/Eta/Types/InstEnv.hs +++ b/compiler/Eta/Types/InstEnv.hs @@ -492,7 +492,7 @@ These functions implement the carefully-written rules in the user manual section on "overlapping instances". At risk of duplication, here are the rules. If the rules change, change this text and the user manual simultaneously. The link may be this: -http://www.haskell.org/ghc/docs/latest/html/users_guide/type-class-extensions.html#instance-overlap +https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/type-class-extensions.html#instance-overlap The willingness to be overlapped or incoherent is a property of the instance declaration itself, controlled as follows: From d3eee2ae635071d0a1287e2ece2066d9f9682ac7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:18:36 -0400 Subject: [PATCH 03/32] Follow redirect: https://downloads.haskell.org/~ghc/papers/concurrent-haskell.ps.gz Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/Control/Concurrent.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/base/Control/Concurrent.hs b/libraries/base/Control/Concurrent.hs index 3c823977..c3d33cce 100644 --- a/libraries/base/Control/Concurrent.hs +++ b/libraries/base/Control/Concurrent.hs @@ -130,7 +130,7 @@ import Control.Concurrent.QSemN The concurrency extension for Haskell is described in the paper /Concurrent Haskell/ -. +. Concurrency is \"lightweight\", which means that both thread creation and context switching overheads are extremely low. Scheduling of From 43ac1f10fe38879bebfb9abd3a55dfc724de166a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:07:06 -0400 Subject: [PATCH 04/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc.git Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/base.cabal | 2 +- libraries/ghc-prim/ghc-prim.cabal | 2 +- libraries/integer/integer.cabal | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal index 41fa1c6a..6883688c 100644 --- a/libraries/base/base.cabal +++ b/libraries/base/base.cabal @@ -19,7 +19,7 @@ extra-source-files: source-repository head type: git - location: http://git.haskell.org/ghc.git + location: https://gitlab.haskell.org/ghc/ghc.git subdir: libraries/base library diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal index d435218a..0f295b2e 100644 --- a/libraries/ghc-prim/ghc-prim.cabal +++ b/libraries/ghc-prim/ghc-prim.cabal @@ -13,7 +13,7 @@ description: source-repository head type: git - location: http://git.haskell.org/ghc.git + location: https://gitlab.haskell.org/ghc/ghc.git subdir: libraries/ghc-prim Library diff --git a/libraries/integer/integer.cabal b/libraries/integer/integer.cabal index cf2887e2..909cb1f5 100644 --- a/libraries/integer/integer.cabal +++ b/libraries/integer/integer.cabal @@ -23,7 +23,7 @@ cabal-version: >=1.10 source-repository head type: git - location: http://git.haskell.org/ghc.git + location: https://gitlab.haskell.org/ghc/ghc.git subdir: libraries/integer-gmp Library From bc08f5f25006eaa4d6f13df964b473d04804d22a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:04:24 -0400 Subject: [PATCH 05/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/issues/new Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/base.cabal | 2 +- libraries/ghc-prim/ghc-prim.cabal | 2 +- libraries/integer/integer.cabal | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal index 6883688c..9778aad3 100644 --- a/libraries/base/base.cabal +++ b/libraries/base/base.cabal @@ -3,7 +3,7 @@ version: 4.11.1.0 license: BSD3 license-file: LICENSE maintainer: libraries@haskell.org -bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries/base +bug-reports: https://gitlab.haskell.org/ghc/ghc/-/issues/new synopsis: Basic libraries category: Prelude description: diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal index 0f295b2e..b2d95ae9 100644 --- a/libraries/ghc-prim/ghc-prim.cabal +++ b/libraries/ghc-prim/ghc-prim.cabal @@ -4,7 +4,7 @@ license: BSD3 license-file: LICENSE category: GHC maintainer: libraries@haskell.org -bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=ghc-prim +bug-reports: https://gitlab.haskell.org/ghc/ghc/-/issues/new synopsis: GHC primitives cabal-version: >=1.10 build-type: Simple diff --git a/libraries/integer/integer.cabal b/libraries/integer/integer.cabal index 909cb1f5..6d940874 100644 --- a/libraries/integer/integer.cabal +++ b/libraries/integer/integer.cabal @@ -5,7 +5,7 @@ license: BSD3 license-file: LICENSE category: Numerical maintainer: libraries@haskell.org -bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries%20%28other%29&keywords=integer-gmp +bug-reports: https://gitlab.haskell.org/ghc/ghc/-/issues/new synopsis: Integer library based on GMP description: This package provides the low-level implementation of the standard From 4fe4c64f8bc8bbed3cf2fe5ed7bb39f0c7c1e368 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:02:30 -0400 Subject: [PATCH 06/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/issues Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/BasicTypes/Module.hs | 4 ++-- compiler/Eta/HsSyn/Convert.hs | 2 +- compiler/Eta/Main/ErrUtils.hs | 2 +- compiler/Eta/Main/StaticFlags.hs | 2 +- compiler/Eta/Main/SysTools.hs | 2 +- compiler/Eta/Rename/RnExpr.hs | 2 +- compiler/Eta/TypeCheck/TcAnnotations.hs | 2 +- libraries/base/Control/Category.hs | 2 +- libraries/base/Control/Monad.hs | 2 +- libraries/base/Data/Foldable.hs | 2 +- libraries/base/Data/OldList.hs | 2 +- libraries/base/GHC/Read.hs | 2 +- libraries/base/System/Mem/Weak.hs | 2 +- tests/suite/annotations/fail/T10826.stderr | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/compiler/Eta/BasicTypes/Module.hs b/compiler/Eta/BasicTypes/Module.hs index 29edc275..d4255c74 100644 --- a/compiler/Eta/BasicTypes/Module.hs +++ b/compiler/Eta/BasicTypes/Module.hs @@ -212,7 +212,7 @@ import {-# SOURCE #-} Eta.Main.DynFlags (DynFlags) -- only ever ComponentIds, and some ComponentIds happen to have -- more information (UnitIds). -- - Same as Language.Eta.Meta.Syntax:PkgName, see --- https://ghc.haskell.org/trac/ghc/ticket/10279 +-- https://gitlab.haskell.org/ghc/ghc/-/issues/10279 -- - The same as PackageKey in GHC 7.10 (we renamed it because -- they don't necessarily identify packages anymore.) -- - Same as -this-package-key/-package-name flags @@ -230,7 +230,7 @@ import {-# SOURCE #-} Eta.Main.DynFlags (DynFlags) -- PackageName: The "name" field in a Cabal file, something like "lens". -- - Same as Distribution.Package.PackageName -- - DIFFERENT FROM Language.Eta.Meta.Syntax:PkgName, see --- https://ghc.haskell.org/trac/ghc/ticket/10279 +-- https://gitlab.haskell.org/ghc/ghc/-/issues/10279 -- - DIFFERENT FROM -package-name flag -- - DIFFERENT FROM the 'name' field in an installed package -- information. This field could more accurately be described diff --git a/compiler/Eta/HsSyn/Convert.hs b/compiler/Eta/HsSyn/Convert.hs index aa8ab5c7..9f2a3838 100644 --- a/compiler/Eta/HsSyn/Convert.hs +++ b/compiler/Eta/HsSyn/Convert.hs @@ -1328,7 +1328,7 @@ points so that the code is readable with its original meaning. So scattered through Convert.hs are various points where parens are added. -See (among other closed issued) https://ghc.haskell.org/trac/ghc/ticket/14289 +See (among other closed issued) https://gitlab.haskell.org/ghc/ghc/-/issues/14289 -} -- --------------------------------------------------------------------- diff --git a/compiler/Eta/Main/ErrUtils.hs b/compiler/Eta/Main/ErrUtils.hs index f6a66c40..1b4abd91 100644 --- a/compiler/Eta/Main/ErrUtils.hs +++ b/compiler/Eta/Main/ErrUtils.hs @@ -424,7 +424,7 @@ dumpSDoc dflags print_unqual flag hdr doc -- We do not want the dump file to be affected by -- environment variables, but instead to always use -- UTF8. See: - -- https://ghc.haskell.org/trac/ghc/ticket/10762 + -- https://gitlab.haskell.org/ghc/ghc/-/issues/10762 hSetEncoding handle utf8 doc' <- if null hdr diff --git a/compiler/Eta/Main/StaticFlags.hs b/compiler/Eta/Main/StaticFlags.hs index 1e7c2804..4dd83f8b 100644 --- a/compiler/Eta/Main/StaticFlags.hs +++ b/compiler/Eta/Main/StaticFlags.hs @@ -159,7 +159,7 @@ flagsStaticNames = [ -- the existing flags do nothing other than control debugging and some low-level -- optimizer phases, so for the most part this is OK. -- --- See GHC issue #8276: http://ghc.haskell.org/trac/ghc/ticket/8276#comment:37 +-- See GHC issue #8276: https://gitlab.haskell.org/ghc/ghc/-/issues/8276#comment:37 discardStaticFlags :: [String] -> [String] discardStaticFlags = filter (\x -> x `notElem` flags) where flags = [ "-fno-state-hack" diff --git a/compiler/Eta/Main/SysTools.hs b/compiler/Eta/Main/SysTools.hs index fbaeddce..6ee5d02f 100644 --- a/compiler/Eta/Main/SysTools.hs +++ b/compiler/Eta/Main/SysTools.hs @@ -850,7 +850,7 @@ runSomething dflags phase_name pgm args = -- response files for passing them in. See: -- -- https://gcc.gnu.org/wiki/Response_Files --- https://ghc.haskell.org/trac/ghc/ticket/10777 +-- https://gitlab.haskell.org/ghc/ghc/-/issues/10777 runSomethingResponseFile :: DynFlags -> (String->String) -> String -> String -> [Option] -> Maybe [(String,String)] -> IO () diff --git a/compiler/Eta/Rename/RnExpr.hs b/compiler/Eta/Rename/RnExpr.hs index 644d7f8c..c2c342d2 100644 --- a/compiler/Eta/Rename/RnExpr.hs +++ b/compiler/Eta/Rename/RnExpr.hs @@ -1717,7 +1717,7 @@ Note [Segmenting mdo] ~~~~~~~~~~~~~~~~~~~~~ NB. June 7 2012: We only glom segments that appear in an explicit mdo; and leave those found in "do rec"'s intact. See -http://ghc.haskell.org/trac/ghc/ticket/4148 for the discussion +https://gitlab.haskell.org/ghc/ghc/-/issues/4148 for the discussion leading to this design choice. Hence the test in segmentRecStmts. Note [Glomming segments] diff --git a/compiler/Eta/TypeCheck/TcAnnotations.hs b/compiler/Eta/TypeCheck/TcAnnotations.hs index 95ccb24a..629e0046 100644 --- a/compiler/Eta/TypeCheck/TcAnnotations.hs +++ b/compiler/Eta/TypeCheck/TcAnnotations.hs @@ -56,7 +56,7 @@ tcAnnotation (L loc ann@(HsAnnotation _ provenance expr)) = do runAnnotation target expr where safeHsErr = vcat [ ptext (sLit "Annotations are not compatible with Safe Haskell.") - , ptext (sLit "See https://ghc.haskell.org/trac/ghc/ticket/10826") ] + , ptext (sLit "See https://gitlab.haskell.org/ghc/ghc/-/issues/10826") ] annProvenanceToTarget :: Module -> AnnProvenance Name -> AnnTarget Name annProvenanceToTarget _ (ValueAnnProvenance (L _ name)) = NamedTarget name diff --git a/libraries/base/Control/Category.hs b/libraries/base/Control/Category.hs index ab7740b5..4ef2c226 100644 --- a/libraries/base/Control/Category.hs +++ b/libraries/base/Control/Category.hs @@ -13,7 +13,7 @@ -- Stability : experimental -- Portability : portable --- http://ghc.haskell.org/trac/ghc/ticket/1773 +-- https://gitlab.haskell.org/ghc/ghc/-/issues/1773 module Control.Category where diff --git a/libraries/base/Control/Monad.hs b/libraries/base/Control/Monad.hs index d9a862ec..77dca16c 100644 --- a/libraries/base/Control/Monad.hs +++ b/libraries/base/Control/Monad.hs @@ -231,7 +231,7 @@ inline the entire definition (as happens for foldr, for example) thereby specialising for the particular action. For further information, see this Trac comment, which includes side-by-side -Core: https://ghc.haskell.org/trac/ghc/ticket/11795#comment:6 +Core: https://gitlab.haskell.org/ghc/ghc/-/issues/11795#comment:6 -} -- | @'replicateM' n act@ performs the action @n@ times, diff --git a/libraries/base/Data/Foldable.hs b/libraries/base/Data/Foldable.hs index 82db2537..4cae2ee8 100644 --- a/libraries/base/Data/Foldable.hs +++ b/libraries/base/Data/Foldable.hs @@ -611,7 +611,7 @@ make these functions only use O(1) stack space. It is perhaps not the optimal way to fix this problem, as there are other conceivable data structures (besides lists) which might benefit from specialized implementations for maximumBy and minimumBy (see -https://ghc.haskell.org/trac/ghc/ticket/10830#comment:26 for a further +https://gitlab.haskell.org/ghc/ghc/-/issues/10830#comment:26 for a further discussion). But using foldl1 is at least always better than using foldr1, so GHC has chosen to adopt that approach for now. -} diff --git a/libraries/base/Data/OldList.hs b/libraries/base/Data/OldList.hs index b9b98f2a..ccfa5726 100644 --- a/libraries/base/Data/OldList.hs +++ b/libraries/base/Data/OldList.hs @@ -934,7 +934,7 @@ and possibly to bear similarities to a 1982 paper by Richard O'Keefe: "A smooth applicative merge sort". Benchmarks show it to be often 2x the speed of the previous implementation. -Fixes ticket http://ghc.haskell.org/trac/ghc/ticket/2143 +Fixes ticket https://gitlab.haskell.org/ghc/ghc/-/issues/2143 -} sort = sortBy compare diff --git a/libraries/base/GHC/Read.hs b/libraries/base/GHC/Read.hs index 86532acc..f84b4975 100644 --- a/libraries/base/GHC/Read.hs +++ b/libraries/base/GHC/Read.hs @@ -380,7 +380,7 @@ readField fieldName readVal = do -- second argument is a parser for the field value. -- -- Note that 'readField' does not suffice for this purpose due to --- . +-- . readFieldHash :: String -> ReadPrec a -> ReadPrec a readFieldHash fieldName readVal = do expectP (L.Ident fieldName) diff --git a/libraries/base/System/Mem/Weak.hs b/libraries/base/System/Mem/Weak.hs index 3a00696a..df62bfa1 100644 --- a/libraries/base/System/Mem/Weak.hs +++ b/libraries/base/System/Mem/Weak.hs @@ -155,7 +155,7 @@ unreachable. There are two situations that can cause this: * If a finalizer throws an exception, subsequent finalizers that had been queued to run after it do not get run. This behavior may change - in a future release. See issue + in a future release. See issue on the issue tracker. Writing a finalizer that throws exceptions is discouraged. diff --git a/tests/suite/annotations/fail/T10826.stderr b/tests/suite/annotations/fail/T10826.stderr index d03eda13..78fdb5df 100644 --- a/tests/suite/annotations/fail/T10826.stderr +++ b/tests/suite/annotations/fail/T10826.stderr @@ -1,6 +1,6 @@ tests/suite/annotations/fail/T10826.hs:6:1: error: Annotations are not compatible with Safe Haskell. - See https://ghc.haskell.org/trac/ghc/ticket/10826 + See https://gitlab.haskell.org/ghc/ghc/-/issues/10826 In the annotation: {-# ANN hook (unsafePerformIO (putStrLn "Woops.")) #-} From a97d7fcc67597340357b6ddf80aeb54f7cbda17b Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:04:59 -0400 Subject: [PATCH 07/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/coding-style Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Parser/Parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Parser/Parser.y b/compiler/Eta/Parser/Parser.y index 020bb9e1..e7f77614 100644 --- a/compiler/Eta/Parser/Parser.y +++ b/compiler/Eta/Parser/Parser.y @@ -13,7 +13,7 @@ -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and fix -- any warnings in the module. See --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings +-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/coding-style#Warnings -- for details -- | This module provides the generated Happy parser for Haskell. It exports From 83d0c22d6332de98d6b2836180db8f1f0da38cb6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:05:15 -0400 Subject: [PATCH 08/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Iface/IfaceSyn.hs | 2 +- compiler/Eta/Iface/MkIface.hs | 2 +- compiler/Eta/Main/HscTypes.hs | 2 +- compiler/Eta/Main/TidyPgm.hs | 2 +- compiler/Eta/Utils/Fingerprint.hs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/Eta/Iface/IfaceSyn.hs b/compiler/Eta/Iface/IfaceSyn.hs index 29501bf0..089230c8 100644 --- a/compiler/Eta/Iface/IfaceSyn.hs +++ b/compiler/Eta/Iface/IfaceSyn.hs @@ -334,7 +334,7 @@ data IfaceIdDetails {- Note [Versioning of instances] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -See [http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance#Instances] +See [https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance#Instances] ************************************************************************ diff --git a/compiler/Eta/Iface/MkIface.hs b/compiler/Eta/Iface/MkIface.hs index 11b4e53f..f9fc2016 100644 --- a/compiler/Eta/Iface/MkIface.hs +++ b/compiler/Eta/Iface/MkIface.hs @@ -34,7 +34,7 @@ module Eta.Iface.MkIface ( A complete description of how recompilation checking works can be found in the wiki commentary: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance + https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance Please read the above page for a top-down description of how this all works. Notes below cover specific issues related to the implementation. diff --git a/compiler/Eta/Main/HscTypes.hs b/compiler/Eta/Main/HscTypes.hs index da42cdd8..1e8c9c88 100644 --- a/compiler/Eta/Main/HscTypes.hs +++ b/compiler/Eta/Main/HscTypes.hs @@ -2346,7 +2346,7 @@ noDependencies :: Dependencies noDependencies = Deps [] [] [] [] -- | Records modules for which changes may force recompilation of this module --- See wiki: http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +-- See wiki: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance -- -- This differs from Dependencies. A module X may be in the dep_mods of this -- module (via an import chain) but if we don't use anything from X it won't diff --git a/compiler/Eta/Main/TidyPgm.hs b/compiler/Eta/Main/TidyPgm.hs index a910ae76..b4cb3e0c 100644 --- a/compiler/Eta/Main/TidyPgm.hs +++ b/compiler/Eta/Main/TidyPgm.hs @@ -222,7 +222,7 @@ Note [choosing external names] See also the section "Interface stability" in the RecompilationAvoidance commentary: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance + https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance First we figure out which Ids are "external" Ids. An "external" Id is one that is visible from outside the compilation diff --git a/compiler/Eta/Utils/Fingerprint.hs b/compiler/Eta/Utils/Fingerprint.hs index d10ceb40..366e33f2 100644 --- a/compiler/Eta/Utils/Fingerprint.hs +++ b/compiler/Eta/Utils/Fingerprint.hs @@ -6,7 +6,7 @@ -- -- Fingerprints for recompilation checking and ABI versioning. -- --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/RecompilationAvoidance +-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/recompilation-avoidance -- -- ---------------------------------------------------------------------------- From f003e6924cfcd1ffd04596f0bb47c7758b2c3358 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:05:32 -0400 Subject: [PATCH 09/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/type-type Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Types/Type.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Types/Type.hs b/compiler/Eta/Types/Type.hs index eda2de82..0c0f4cc8 100644 --- a/compiler/Eta/Types/Type.hs +++ b/compiler/Eta/Types/Type.hs @@ -1846,7 +1846,7 @@ Kinds ~~~~~ For the description of subkinding in GHC, see - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/TypeType#Kinds + https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/type-type#Kinds -} type MetaKindVar = TyVar -- invariant: MetaKindVar will always be a From f933c0d26b9c13b9c4bcbfa9ec40017c71678e4c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:05:45 -0400 Subject: [PATCH 10/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/unused-imports Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Rename/RnNames.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Rename/RnNames.hs b/compiler/Eta/Rename/RnNames.hs index 6d9eebbf..c8c19425 100644 --- a/compiler/Eta/Rename/RnNames.hs +++ b/compiler/Eta/Rename/RnNames.hs @@ -1723,7 +1723,7 @@ reportUnusedNames _export_decls gbl_env This code finds which import declarations are unused. The specification and implementation notes are here: - http://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/UnusedImports + https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/compiler/unused-imports -} type ImportDeclUsage From 501ae43368637a1c04bdc28c5ec0856c36afa6b8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:06:03 -0400 Subject: [PATCH 11/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/integer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/integer/GHC/Integer/Type.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/integer/GHC/Integer/Type.hs b/libraries/integer/GHC/Integer/Type.hs index 27617ca1..2ef9775e 100644 --- a/libraries/integer/GHC/Integer/Type.hs +++ b/libraries/integer/GHC/Integer/Type.hs @@ -2,7 +2,7 @@ {-# OPTIONS_HADDOCK hide #-} -- Commentary of Integer library is located on the wiki: --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/Libraries/Integer +-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/integer -- -- It gives an in-depth description of implementation details and -- decisions. From 7200cb84481bb02fb811a01daecfb87b2d09a448 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:06:14 -0400 Subject: [PATCH 12/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/prim-ops Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Prelude/primops.txt.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/Eta/Prelude/primops.txt.pp b/compiler/Eta/Prelude/primops.txt.pp index 6865d149..c1f56787 100644 --- a/compiler/Eta/Prelude/primops.txt.pp +++ b/compiler/Eta/Prelude/primops.txt.pp @@ -5,7 +5,7 @@ -- Primitive Operations and Types -- -- For more information on PrimOps, see --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps +-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/prim-ops -- ----------------------------------------------------------------------- @@ -18,7 +18,7 @@ -- Information on how PrimOps are implemented and the steps necessary to -- add a new one can be found in the Commentary: -- --- http://ghc.haskell.org/trac/ghc/wiki/Commentary/PrimOps +-- https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/prim-ops -- This file is divided into named sections, each containing or more -- primop entries. Section headers have the format: From e87ce8e54c504bbca1867eef02d9355ec55a1afa Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:06:22 -0400 Subject: [PATCH 13/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/-/wikis/roles-implementation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Types/Coercion.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Types/Coercion.hs b/compiler/Eta/Types/Coercion.hs index 97f13773..0fb5708c 100644 --- a/compiler/Eta/Types/Coercion.hs +++ b/compiler/Eta/Types/Coercion.hs @@ -361,7 +361,7 @@ Note [Roles] ~~~~~~~~~~~~ Roles are a solution to the GeneralizedNewtypeDeriving problem, articulated in Trac #1496. The full story is in docs/core-spec/core-spec.pdf. Also, see -http://ghc.haskell.org/trac/ghc/wiki/RolesImplementation +https://gitlab.haskell.org/ghc/ghc/-/wikis/roles-implementation Here is one way to phrase the problem: From b4013fc85ec8b9ba1199182d8cba144a7398931e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:18:57 -0400 Subject: [PATCH 14/32] Follow redirect: https://gitlab.haskell.org/ghc/ghc/wikis/report-a-bug Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/TypeCheck/TcTyClsDecls.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/TypeCheck/TcTyClsDecls.hs b/compiler/Eta/TypeCheck/TcTyClsDecls.hs index dbccb0d3..76718a64 100644 --- a/compiler/Eta/TypeCheck/TcTyClsDecls.hs +++ b/compiler/Eta/TypeCheck/TcTyClsDecls.hs @@ -1888,7 +1888,7 @@ checkValidRoles tc report_error doc = addErrTc $ vcat [ptext (sLit "Internal error in role inference:"), doc, - ptext (sLit "Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug")] + ptext (sLit "Please report this as a GHC bug: https://gitlab.haskell.org/ghc/ghc/wikis/report-a-bug")] {- ************************************************************************ From f8ffeb88642129b000d2314623ada6772e80bae5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:17:51 -0400 Subject: [PATCH 15/32] Follow redirect: https://mail.haskell.org/pipermail/haskell/2006-may/017907.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/Control/Concurrent/MVar.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/base/Control/Concurrent/MVar.hs b/libraries/base/Control/Concurrent/MVar.hs index 800359bb..149d33e4 100644 --- a/libraries/base/Control/Concurrent/MVar.hs +++ b/libraries/base/Control/Concurrent/MVar.hs @@ -180,7 +180,7 @@ swapMVar mvar new = -} {-# INLINE withMVar #-} -- inlining has been reported to have dramatic effects; see --- http://www.haskell.org//pipermail/haskell/2006-May/017907.html +-- https://mail.haskell.org/pipermail/haskell/2006-May/017907.html withMVar :: MVar a -> (a -> IO b) -> IO b withMVar m io = mask $ \restore -> do From d56973d4fb30f22b01fee85d30a2786ec78c99ef Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:19:44 -0400 Subject: [PATCH 16/32] Follow redirect: https://mail.haskell.org/pipermail Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Main/DynFlags.hs | 2 +- compiler/Eta/Main/Packages.hs | 2 +- tests/suite/typecheck/compile/tc183/Tc183.hs | 2 +- tests/suite/typecheck/compile/tcfail123/Tcfail126.hs | 2 +- tests/suite/typecheck/fail/tcfail201.hs | 2 +- utils/eta-pkg/Main.hs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/Eta/Main/DynFlags.hs b/compiler/Eta/Main/DynFlags.hs index d1049228..12dd17f3 100644 --- a/compiler/Eta/Main/DynFlags.hs +++ b/compiler/Eta/Main/DynFlags.hs @@ -1732,7 +1732,7 @@ languageExtensions Nothing : delete LangExt.DatatypeContexts -- The Haskell' committee decided to -- remove datatype contexts from the -- language: - -- http://www.haskell.org/pipermail/haskell-prime/2011-January/003335.html + -- https://mail.haskell.org/pipermail/haskell-prime/2011-January/003335.html (languageExtensions (Just Haskell2010)) -- NB: MonoPatBinds is no longer the default diff --git a/compiler/Eta/Main/Packages.hs b/compiler/Eta/Main/Packages.hs index 1315636f..d3b8c561 100644 --- a/compiler/Eta/Main/Packages.hs +++ b/compiler/Eta/Main/Packages.hs @@ -641,7 +641,7 @@ mungeDynLibFields pkg = -- TODO: This code is duplicated in utils/ghc-pkg/Main.hs mungePackagePaths :: FilePath -> FilePath -> PackageConfig -> PackageConfig -- Perform path/URL variable substitution as per the Cabal ${pkgroot} spec --- (http://www.haskell.org/pipermail/libraries/2009-May/011772.html) +-- (https://mail.haskell.org/pipermail/libraries/2009-May/011772.html) -- Paths/URLs can be relative to ${pkgroot} or ${pkgrooturl}. -- The "pkgroot" is the directory containing the package database. -- diff --git a/tests/suite/typecheck/compile/tc183/Tc183.hs b/tests/suite/typecheck/compile/tc183/Tc183.hs index 331436cd..96d5d242 100644 --- a/tests/suite/typecheck/compile/tc183/Tc183.hs +++ b/tests/suite/typecheck/compile/tc183/Tc183.hs @@ -2,7 +2,7 @@ {-# LANGUAGE ExistentialQuantification, RankNTypes #-} -- An interesting interaction of universals and existentials, prompted by --- http://www.haskell.org/pipermail/haskell-cafe/2004-October/007160.html +-- https://mail.haskell.org/pipermail/haskell-cafe/2004-October/007160.html -- -- Note the non-nested pattern-match in runProg; tcfail126 checks the -- nested pattern match diff --git a/tests/suite/typecheck/compile/tcfail123/Tcfail126.hs b/tests/suite/typecheck/compile/tcfail123/Tcfail126.hs index 3ad82a9c..756a7800 100644 --- a/tests/suite/typecheck/compile/tcfail123/Tcfail126.hs +++ b/tests/suite/typecheck/compile/tcfail123/Tcfail126.hs @@ -2,7 +2,7 @@ {-# LANGUAGE RankNTypes, ExistentialQuantification #-} -- An interesting interaction of universals and existentials, prompted by --- http://www.haskell.org/pipermail/haskell-cafe/2004-October/007160.html +-- https://mail.haskell.org/pipermail/haskell-cafe/2004-October/007160.html -- -- Note the nested pattern-match in runProg; tc183 checks the -- non-nested version diff --git a/tests/suite/typecheck/fail/tcfail201.hs b/tests/suite/typecheck/fail/tcfail201.hs index 5b18dd98..04f3dcbe 100644 --- a/tests/suite/typecheck/fail/tcfail201.hs +++ b/tests/suite/typecheck/fail/tcfail201.hs @@ -3,7 +3,7 @@ -- Claus reported by email that -- GHCi, version 6.9.20080217 loops on this program --- http://www.haskell.org/pipermail/cvs-ghc/2008-June/043173.html +-- https://mail.haskell.org/pipermail/cvs-ghc/2008-June/043173.html -- So I'm adding it to the test suite so that we'll see it if it happens again module Foo where diff --git a/utils/eta-pkg/Main.hs b/utils/eta-pkg/Main.hs index 39297b9a..00f5aff9 100644 --- a/utils/eta-pkg/Main.hs +++ b/utils/eta-pkg/Main.hs @@ -899,7 +899,7 @@ mungePackageDBPaths top_dir db@PackageDB { packages = pkgs } = mungePackagePaths :: FilePath -> FilePath -> InstalledPackageInfo -> InstalledPackageInfo -- Perform path/URL variable substitution as per the Cabal ${pkgroot} spec --- (http://www.haskell.org/pipermail/libraries/2009-May/011772.html) +-- (https://mail.haskell.org/pipermail/libraries/2009-May/011772.html) -- Paths/URLs can be relative to ${pkgroot} or ${pkgrooturl}. -- The "pkgroot" is the directory containing the package database. -- From 69561c9f1c1e17f7fed0bf170b8f1f4c16b69884 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:25:54 -0400 Subject: [PATCH 17/32] Follow redirect: https://programmersheaven.com/2/calling-conventions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Prelude/ForeignCall.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Prelude/ForeignCall.hs b/compiler/Eta/Prelude/ForeignCall.hs index 4f17fa2d..c2843a6c 100644 --- a/compiler/Eta/Prelude/ForeignCall.hs +++ b/compiler/Eta/Prelude/ForeignCall.hs @@ -179,7 +179,7 @@ ToDo: The stdcall calling convention is x86 (win32) specific, so perhaps we should emit a warning if it's being used on other platforms. -See: http://www.programmersheaven.com/2/Calling-conventions +See: https://programmersheaven.com/2/Calling-conventions -} -- any changes here should be replicated in the CallConv type in template haskell From 30cba9f2c0beafa234dafdea59c1371410fb7765 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:26:34 -0400 Subject: [PATCH 18/32] Follow redirect: https://staff.city.ac.uk/~ross/papers/applicative.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/Control/Applicative.hs | 2 +- libraries/base/Data/Traversable.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/base/Control/Applicative.hs b/libraries/base/Control/Applicative.hs index ef1b9e8a..87d09b1b 100644 --- a/libraries/base/Control/Applicative.hs +++ b/libraries/base/Control/Applicative.hs @@ -33,7 +33,7 @@ -- mostly based on parsing work by Doaitse Swierstra. -- -- For more details, see --- , +-- , -- by Conor McBride and Ross Paterson. module Control.Applicative ( diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs index ad60d6be..483624bb 100644 --- a/libraries/base/Data/Traversable.hs +++ b/libraries/base/Data/Traversable.hs @@ -24,7 +24,7 @@ -- * \"Applicative Programming with Effects\", -- by Conor McBride and Ross Paterson, -- /Journal of Functional Programming/ 18:1 (2008) 1-13, online at --- . +-- . -- -- * \"The Essence of the Iterator Pattern\", -- by Jeremy Gibbons and Bruno Oliveira, From f76d6cbcaed8dea6f5e8209b704941a9ec244b5e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:14:10 -0400 Subject: [PATCH 19/32] Follow redirect: https://web.archive.org/web/20070203205021/http://www.cs.chalmers.se/~rjmh/papers/pretty.ps Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Utils/Pretty.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Utils/Pretty.hs b/compiler/Eta/Utils/Pretty.hs index 45a85f7d..c24440bd 100644 --- a/compiler/Eta/Utils/Pretty.hs +++ b/compiler/Eta/Utils/Pretty.hs @@ -6,7 +6,7 @@ * based on "The Design of a Pretty-printing Library" * * in Advanced Functional Programming, * * Johan Jeuring and Erik Meijer (eds), LNCS 925 * -* http://www.cs.chalmers.se/~rjmh/Papers/pretty.ps * +* https://web.archive.org/web/20070203205021/http://www.cs.chalmers.se/~rjmh/Papers/pretty.ps * * * * Heavily modified by Simon Peyton Jones, Dec 96 * * * From 6d58ea0c020bc144753a4cfb92f52768a2dab8d0 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:15:06 -0400 Subject: [PATCH 20/32] Follow redirect: https://web.archive.org/web/20110130081927/http://www.cs.uta.fi/~helmu/pubs/pscerr.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Utils/Util.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Utils/Util.hs b/compiler/Eta/Utils/Util.hs index 3aef69bb..72e975ef 100644 --- a/compiler/Eta/Utils/Util.hs +++ b/compiler/Eta/Utils/Util.hs @@ -737,7 +737,7 @@ infixr 2 <||> -- same as (||) -- Based on the algorithm presented in "A Bit-Vector Algorithm for Computing -- Levenshtein and Damerau Edit Distances" in PSC'02 (Heikki Hyyro). -- See http://www.cs.uta.fi/~helmu/pubs/psc02.pdf and --- http://www.cs.uta.fi/~helmu/pubs/PSCerr.html for an explanation +-- https://web.archive.org/web/20110130081927/http://www.cs.uta.fi/~helmu/pubs/PSCerr.html for an explanation restrictedDamerauLevenshteinDistance :: String -> String -> Int restrictedDamerauLevenshteinDistance str1 str2 = restrictedDamerauLevenshteinDistanceWithLengths m n str1 str2 From 921c2b6da3e77527a1e4b7499c10dbdcc8f58248 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:15:37 -0400 Subject: [PATCH 21/32] Follow redirect: https://web.archive.org/web/20120227082218/http://www.cs.uta.fi/~helmu/pubs/psc02.pdf Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Utils/Util.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Utils/Util.hs b/compiler/Eta/Utils/Util.hs index 72e975ef..5f510149 100644 --- a/compiler/Eta/Utils/Util.hs +++ b/compiler/Eta/Utils/Util.hs @@ -736,7 +736,7 @@ infixr 2 <||> -- same as (||) -- See: . -- Based on the algorithm presented in "A Bit-Vector Algorithm for Computing -- Levenshtein and Damerau Edit Distances" in PSC'02 (Heikki Hyyro). --- See http://www.cs.uta.fi/~helmu/pubs/psc02.pdf and +-- See https://web.archive.org/web/20120227082218/http://www.cs.uta.fi/~helmu/pubs/psc02.pdf and -- https://web.archive.org/web/20110130081927/http://www.cs.uta.fi/~helmu/pubs/PSCerr.html for an explanation restrictedDamerauLevenshteinDistance :: String -> String -> Int restrictedDamerauLevenshteinDistance str1 str2 From 983352d1a0aaae2b40070f2b88dce821b2919ac3 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:13:08 -0400 Subject: [PATCH 22/32] Follow redirect: https://web.archive.org/web/20170426120538/http://cs.brynmawr.edu/~rae/papers/2014/coercible/coercible.pdf Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/ghc-prim/GHC/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs index cabc3659..6c25a2fc 100644 --- a/libraries/ghc-prim/GHC/Types.hs +++ b/libraries/ghc-prim/GHC/Types.hs @@ -174,7 +174,7 @@ data (~) a b = Eq# ((~#) a b) -- @type role Set nominal@ -- -- For more details about this feature, please refer to --- +-- -- by Joachim Breitner, Richard A. Eisenberg, Simon Peyton Jones and Stephanie Weirich. -- -- @since 4.7.0.0 From 65ea00ed9e55261e31f5f880ac680283307e1a1e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:10:03 -0400 Subject: [PATCH 23/32] Follow redirect: https://web.archive.org/web/20170706035904/https://people.cs.kuleuven.be/~george.karachalias/papers/p424-karachalias.pdf Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/DeSugar/Check.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/DeSugar/Check.hs b/compiler/Eta/DeSugar/Check.hs index f903c68c..b20eadc2 100644 --- a/compiler/Eta/DeSugar/Check.hs +++ b/compiler/Eta/DeSugar/Check.hs @@ -56,7 +56,7 @@ The algorithm used is based on the paper: "GADTs Meet Their Match: Pattern-matching Warnings That Account for GADTs, Guards, and Laziness" -http://people.cs.kuleuven.be/~george.karachalias/papers/p424-karachalias.pdf +https://web.archive.org/web/20170706035904/https://people.cs.kuleuven.be/~george.karachalias/papers/p424-karachalias.pdf %************************************************************************ %* * From 7be50d9961421f899a8c7f6b75329e39b77caeb1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:19:08 -0400 Subject: [PATCH 24/32] Follow redirect: https://wiki.haskell.org/research_papers/generics Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/Data/Data.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/base/Data/Data.hs b/libraries/base/Data/Data.hs index cd952529..9ab43e4f 100644 --- a/libraries/base/Data/Data.hs +++ b/libraries/base/Data/Data.hs @@ -14,7 +14,7 @@ -- Portability : non-portable (local universal quantification) -- -- \"Scrap your boilerplate\" --- Generic programming in Haskell. See --- . +-- . -- This module provides the 'Data' class with its primitives for -- generic programming, along with instances for many datatypes. It -- corresponds to a merge between the previous "Data.Generics.Basics" From 68c155ee750f1422042b8005ddd3bc6ea660dd82 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:19:17 -0400 Subject: [PATCH 25/32] Follow redirect: https://wiki.haskell.org/template_haskell Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/eta-meta/Language/Eta/Meta.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/eta-meta/Language/Eta/Meta.hs b/libraries/eta-meta/Language/Eta/Meta.hs index 72cf4979..4b7cd85f 100644 --- a/libraries/eta-meta/Language/Eta/Meta.hs +++ b/libraries/eta-meta/Language/Eta/Meta.hs @@ -1,7 +1,7 @@ {- | The public face of Template Haskell For other documentation, refer to: - + -} module Language.Eta.Meta( From 14e5672514780b93c94da3fdb2da285d078e8bf9 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:11:33 -0400 Subject: [PATCH 26/32] Follow redirect: https://www.cs.ox.ac.uk/people/publications/date/jeremy.gibbons.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libraries/base/Data/Traversable.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs index 483624bb..59c059ae 100644 --- a/libraries/base/Data/Traversable.hs +++ b/libraries/base/Data/Traversable.hs @@ -29,7 +29,7 @@ -- * \"The Essence of the Iterator Pattern\", -- by Jeremy Gibbons and Bruno Oliveira, -- in /Mathematically-Structured Functional Programming/, 2006, online at --- . +-- . -- -- * \"An Investigation of the Laws of Traversals\", -- by Mauro Jaskelioff and Ondrej Rypacek, From fa5f057b0d731e01c268531fa74c9f4bcdce2b4a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:09:02 -0400 Subject: [PATCH 27/32] Follow redirect: https://www.haskell.org/onlinereport/ix.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/TypeCheck/TcGenDeriv.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/TypeCheck/TcGenDeriv.hs b/compiler/Eta/TypeCheck/TcGenDeriv.hs index 75781982..0f13f88b 100644 --- a/compiler/Eta/TypeCheck/TcGenDeriv.hs +++ b/compiler/Eta/TypeCheck/TcGenDeriv.hs @@ -852,7 +852,7 @@ gen_Ix_binds loc tycon -- We need to reverse the order we consider the components in -- so that -- range (l,u) !! index (l,u) i == i -- when i is in range - -- (from http://haskell.org/onlinereport/ix.html) holds. + -- (from https://www.haskell.org/onlinereport/ix.html) holds. (mk_index (reverse $ zip3 as_needed bs_needed cs_needed)) where -- index (l1,u1) i1 + rangeSize (l1,u1) * (index (l2,u2) i2 + ...) From acbf65f19a9938c83c2d6b6f20df879d3aca1f17 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:21:14 -0400 Subject: [PATCH 28/32] Follow redirect: https://www.joachim-breitner.de/blog/600-on_taking_the_last_n_elements_of_a_list Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- compiler/Eta/Utils/Util.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/Eta/Utils/Util.hs b/compiler/Eta/Utils/Util.hs index 5f510149..0b0ca323 100644 --- a/compiler/Eta/Utils/Util.hs +++ b/compiler/Eta/Utils/Util.hs @@ -638,7 +638,7 @@ splitAtList (_:xs) (y:ys) = (y:ys', ys'') dropTail :: Int -> [a] -> [a] -- Specification: dropTail n = reverse . drop n . reverse -- Better implemention due to Joachim Breitner --- http://www.joachim-breitner.de/blog/archives/600-On-taking-the-last-n-elements-of-a-list.html +-- https://www.joachim-breitner.de/blog/600-On_taking_the_last_n_elements_of_a_list dropTail n xs = go (drop n xs) xs where From bccdf0537b4bb2eb0d6e6b405129f4b8c872d530 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:25:24 -0400 Subject: [PATCH 29/32] Follow redirect: https://www.oracle.com/java/technologies/javase-downloads.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/0-user-guides/0-eta-user-guide/1-installation/2-etlas.md | 2 +- docs/0-user-guides/0-eta-user-guide/1-installation/3-source.md | 2 +- .../0-user-guides/1-etlas-user-guide/1-installation/1-binary.md | 2 +- .../0-user-guides/1-etlas-user-guide/1-installation/2-source.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/0-user-guides/0-eta-user-guide/1-installation/2-etlas.md b/docs/0-user-guides/0-eta-user-guide/1-installation/2-etlas.md index 235cb708..14a2c94f 100644 --- a/docs/0-user-guides/0-eta-user-guide/1-installation/2-etlas.md +++ b/docs/0-user-guides/0-eta-user-guide/1-installation/2-etlas.md @@ -8,7 +8,7 @@ You'll download the Etlas binary for your platform and make it available in your You must have the following installed on your system: -- [JDK 7 or above](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +- [JDK 7 or above](https://www.oracle.com/java/technologies/javase-downloads.html) - [Git 1.8 or above](https://git-scm.com/book/en/v1/Getting-Started-Installing-Git) ## Installation diff --git a/docs/0-user-guides/0-eta-user-guide/1-installation/3-source.md b/docs/0-user-guides/0-eta-user-guide/1-installation/3-source.md index 00517731..fda38828 100644 --- a/docs/0-user-guides/0-eta-user-guide/1-installation/3-source.md +++ b/docs/0-user-guides/0-eta-user-guide/1-installation/3-source.md @@ -6,7 +6,7 @@ You must have the following installed on your system: - [Stack](https://docs.haskellstack.org/en/stable/README) - Make sure the path that is obtained from running `stack path --local-bin` is present on the `PATH`. -- [JDK 7 or above](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +- [JDK 7 or above](https://www.oracle.com/java/technologies/javase-downloads.html) - Make sure `javac` and `java` are on the PATH. - Check the OS-specific sections for additional requirements diff --git a/docs/0-user-guides/1-etlas-user-guide/1-installation/1-binary.md b/docs/0-user-guides/1-etlas-user-guide/1-installation/1-binary.md index 1ee0c063..e711d233 100644 --- a/docs/0-user-guides/1-etlas-user-guide/1-installation/1-binary.md +++ b/docs/0-user-guides/1-etlas-user-guide/1-installation/1-binary.md @@ -8,7 +8,7 @@ You'll download the Etlas binary for your platform and make it available in your You must have the following installed on your system: -- [JDK 7 or above](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +- [JDK 7 or above](https://www.oracle.com/java/technologies/javase-downloads.html) - [Git 1.8 or above](https://git-scm.com/book/en/v1/Getting-Started-Installing-Git) ## Installation diff --git a/docs/0-user-guides/1-etlas-user-guide/1-installation/2-source.md b/docs/0-user-guides/1-etlas-user-guide/1-installation/2-source.md index b0a8291b..dde63607 100644 --- a/docs/0-user-guides/1-etlas-user-guide/1-installation/2-source.md +++ b/docs/0-user-guides/1-etlas-user-guide/1-installation/2-source.md @@ -4,7 +4,7 @@ You must have the following installed on your system: -- [JDK 7 or above](http://www.oracle.com/technetwork/java/javase/downloads/index.html) +- [JDK 7 or above](https://www.oracle.com/java/technologies/javase-downloads.html) - [Git 1.8 or above](https://git-scm.com/book/en/v1/Getting-Started-Installing-Git) - [Stack](https://docs.haskellstack.org/en/stable/README/) From 592773d7848a2560a92677267ec237772a952b8f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:25:33 -0400 Subject: [PATCH 30/32] Follow redirect: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/0-user-guides/0-eta-user-guide/1-installation/1-gradle.md | 2 +- .../2-gradle-user-guide/1-basic-configuration/0-quick-start.md | 2 +- .../4-sbt-user-guide/1-basic-configuration/0-quick-start.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/0-user-guides/0-eta-user-guide/1-installation/1-gradle.md b/docs/0-user-guides/0-eta-user-guide/1-installation/1-gradle.md index 8b4afa73..6dba1706 100644 --- a/docs/0-user-guides/0-eta-user-guide/1-installation/1-gradle.md +++ b/docs/0-user-guides/0-eta-user-guide/1-installation/1-gradle.md @@ -8,7 +8,7 @@ You'll clone a GitHub repository that contains a project template and you'll bui You must have the following installed on your system: -- [JDK 8 or above](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) +- [JDK 8 or above](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) - [Git](https://git-scm.com/book/en/v1/Getting-Started-Installing-Git) ## Installation diff --git a/docs/0-user-guides/2-gradle-user-guide/1-basic-configuration/0-quick-start.md b/docs/0-user-guides/2-gradle-user-guide/1-basic-configuration/0-quick-start.md index 569e670e..ed793aac 100644 --- a/docs/0-user-guides/2-gradle-user-guide/1-basic-configuration/0-quick-start.md +++ b/docs/0-user-guides/2-gradle-user-guide/1-basic-configuration/0-quick-start.md @@ -10,7 +10,7 @@ The script will install Gradle and Gradle will install Eta and Etlas. You must have the following installed on your system: -- [JDK 8 or above](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) +- [JDK 8 or above](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) - [Git](https://git-scm.com/book/en/v1/Getting-Started-Installing-Git) ## Installation diff --git a/docs/0-user-guides/4-sbt-user-guide/1-basic-configuration/0-quick-start.md b/docs/0-user-guides/4-sbt-user-guide/1-basic-configuration/0-quick-start.md index c7f252ba..d5c7a6b3 100644 --- a/docs/0-user-guides/4-sbt-user-guide/1-basic-configuration/0-quick-start.md +++ b/docs/0-user-guides/4-sbt-user-guide/1-basic-configuration/0-quick-start.md @@ -8,7 +8,7 @@ You'll create a simple Eta application using [SbtEta plugin](https://github.com/ You must have the following installed on your system: -- [JDK 8 or above](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) +- [JDK 8 or above](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) ## Create a project From fcc18874ad0a4ff3f653ca44a98b624fb7c58ff8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 10:50:51 -0400 Subject: [PATCH 31/32] Switch to https: urls Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- cabal.ghc.project | 2 +- compiler/Eta/Core/CoreSyn.hs | 2 +- compiler/Eta/Main/GHC.hs | 2 +- compiler/Eta/Main/SysTools.hs | 2 +- compiler/Eta/Parser/Lexer.x | 2 +- compiler/Eta/Prelude/primops.txt.pp | 2 +- compiler/Eta/TypeCheck/TcGenDeriv.hs | 6 +++--- compiler/Eta/TypeCheck/TcGenGenerics.hs | 2 +- compiler/Eta/Types/Coercion.hs | 2 +- compiler/Eta/Utils/Binary.hs | 2 +- compiler/Eta/Utils/Util.hs | 2 +- .../0-eta-user-guide/5-metaprogramming/0-overview.md | 2 +- libraries/base/Control/Arrow.hs | 2 +- libraries/base/Data/Bits.hs | 2 +- libraries/base/Data/Char.hs | 8 ++++---- libraries/base/Data/OldList.hs | 2 +- libraries/base/Data/Traversable.hs | 2 +- libraries/base/GHC/Base.hs | 2 +- libraries/base/GHC/Conc/Sync.hs | 2 +- libraries/base/GHC/Generics.hs | 2 +- libraries/base/GHC/IO/Encoding/Failure.hs | 2 +- libraries/base/GHC/Unicode.hs | 4 ++-- libraries/base/java-utils/Utils.java | 2 +- libraries/ghc-prim/GHC/Types.hs | 2 +- libraries/integer/GHC/Integer/Type.hs | 2 +- libraries/integer/integer.cabal | 2 +- utils/class-verifier/Verify.java | 2 +- 27 files changed, 33 insertions(+), 33 deletions(-) diff --git a/cabal.ghc.project b/cabal.ghc.project index 02b92a6e..bb44149e 100644 --- a/cabal.ghc.project +++ b/cabal.ghc.project @@ -2,7 +2,7 @@ -- -- cabal --project-file=cabal.ghc.project new-build -- --- See also http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html +-- See also https://cabal.readthedocs.io/en/latest/nix-local-build-overview.html with-compiler: ghc-7.10.3 packages: diff --git a/compiler/Eta/Core/CoreSyn.hs b/compiler/Eta/Core/CoreSyn.hs index 3428951e..3fb6b58a 100644 --- a/compiler/Eta/Core/CoreSyn.hs +++ b/compiler/Eta/Core/CoreSyn.hs @@ -124,7 +124,7 @@ These data types are the heart of the compiler -- | This is the data type that represents GHCs core intermediate language. Currently -- GHC uses System FC for this purpose, --- which is closely related to the simpler and better known System F . +-- which is closely related to the simpler and better known System F . -- -- We get from Haskell source to this Core language in a number of stages: -- diff --git a/compiler/Eta/Main/GHC.hs b/compiler/Eta/Main/GHC.hs index 9ca49f8f..db5beb63 100644 --- a/compiler/Eta/Main/GHC.hs +++ b/compiler/Eta/Main/GHC.hs @@ -497,7 +497,7 @@ withCleanupSession ghc = ghc `gfinally` cleanup -- reside. More precisely, this should be the output of @ghc --print-libdir@ -- of the version of GHC the module using this API is compiled with. For -- portability, you should use the @ghc-paths@ package, available at --- . +-- . initGhcMonad :: GhcMonad m => Maybe FilePath -> m () initGhcMonad mb_top_dir diff --git a/compiler/Eta/Main/SysTools.hs b/compiler/Eta/Main/SysTools.hs index 6ee5d02f..2236bfdd 100644 --- a/compiler/Eta/Main/SysTools.hs +++ b/compiler/Eta/Main/SysTools.hs @@ -528,7 +528,7 @@ figureLlvmVersion dflags = do (pin, pout, perr, _) <- runInteractiveProcess pgm args' Nothing Nothing {- > llc -version - Low Level Virtual Machine (http://llvm.org/): + Low Level Virtual Machine (https://llvm.org/): llvm version 2.8 (Ubuntu 2.8-0Ubuntu1) ... -} diff --git a/compiler/Eta/Parser/Lexer.x b/compiler/Eta/Parser/Lexer.x index 3e802590..18c440a4 100644 --- a/compiler/Eta/Parser/Lexer.x +++ b/compiler/Eta/Parser/Lexer.x @@ -12,7 +12,7 @@ -- -- References: -- [1] https://www.haskell.org/onlinereport/haskell2010/haskellch2.html --- [2] http://www.haskell.org/alex/ +-- [2] https://www.haskell.org/alex/ -- [3] https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Parser -- ----------------------------------------------------------------------------- diff --git a/compiler/Eta/Prelude/primops.txt.pp b/compiler/Eta/Prelude/primops.txt.pp index c1f56787..16d2f09e 100644 --- a/compiler/Eta/Prelude/primops.txt.pp +++ b/compiler/Eta/Prelude/primops.txt.pp @@ -2935,7 +2935,7 @@ The "Intel 64 and IA-32 Architectures Optimization Reference Manual" is especially a helpful read, even if your software is meant for other CPU architectures or vendor hardware. The manual can be found at - http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-optimization-manual.html . + https://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-optimization-manual.html . The {\tt prefetch*} family of operations has the order of operations determined by passing around the {\tt State#} token. diff --git a/compiler/Eta/TypeCheck/TcGenDeriv.hs b/compiler/Eta/TypeCheck/TcGenDeriv.hs index 0f13f88b..bc945801 100644 --- a/compiler/Eta/TypeCheck/TcGenDeriv.hs +++ b/compiler/Eta/TypeCheck/TcGenDeriv.hs @@ -1474,7 +1474,7 @@ toString_RDR = varQual_RDR jAVA_UTILS (fsLit "toString#") * * Functor instances - see http://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html + see https://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html * * ************************************************************************ @@ -1723,7 +1723,7 @@ mkSimpleTupleCase match_for_con sort insides x = do * * Foldable instances - see http://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html + see https://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html * * ************************************************************************ @@ -1798,7 +1798,7 @@ gen_Foldable_binds loc tycon * * Traversable instances - see http://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html + see https://www.mail-archive.com/haskell-prime@haskell.org/msg02116.html * * ************************************************************************ diff --git a/compiler/Eta/TypeCheck/TcGenGenerics.hs b/compiler/Eta/TypeCheck/TcGenGenerics.hs index dd08c013..764cc181 100644 --- a/compiler/Eta/TypeCheck/TcGenGenerics.hs +++ b/compiler/Eta/TypeCheck/TcGenGenerics.hs @@ -521,7 +521,7 @@ data ArgTyAlg a = ArgTyAlg } -- | @argTyFold@ implements a generalised and safer variant of the @arg@ --- function from Figure 3 in . @arg@ +-- function from Figure 3 in . @arg@ -- is conceptually equivalent to: -- -- > arg t = case t of diff --git a/compiler/Eta/Types/Coercion.hs b/compiler/Eta/Types/Coercion.hs index 0fb5708c..a51bd003 100644 --- a/compiler/Eta/Types/Coercion.hs +++ b/compiler/Eta/Types/Coercion.hs @@ -383,7 +383,7 @@ Yikes! The solution is _roles_, as articulated in "Generative Type Abstraction and Type-level Computation" (POPL 2010), available at -http://www.seas.upenn.edu/~sweirich/papers/popl163af-weirich.pdf +https://www.seas.upenn.edu/~sweirich/papers/popl163af-weirich.pdf The specification for roles has evolved somewhat since that paper. For the current full details, see the documentation in docs/core-spec. Here are some diff --git a/compiler/Eta/Utils/Binary.hs b/compiler/Eta/Utils/Binary.hs index 116f855d..8e515aba 100644 --- a/compiler/Eta/Utils/Binary.hs +++ b/compiler/Eta/Utils/Binary.hs @@ -18,7 +18,7 @@ -- (c) Malcolm Wallace and Colin Runciman, University of York, 1998. -- Under the terms of the license for that software, we must tell you -- where you can obtain the original version of the Binary library, namely --- http://www.cs.york.ac.uk/fp/nhc98/ +-- https://www.cs.york.ac.uk/fp/nhc98/ module Eta.Utils.Binary ( {-type-} Bin, diff --git a/compiler/Eta/Utils/Util.hs b/compiler/Eta/Utils/Util.hs index 0b0ca323..9160779f 100644 --- a/compiler/Eta/Utils/Util.hs +++ b/compiler/Eta/Utils/Util.hs @@ -733,7 +733,7 @@ infixr 2 <||> -- same as (||) -} -- | Find the "restricted" Damerau-Levenshtein edit distance between two strings. --- See: . +-- See: . -- Based on the algorithm presented in "A Bit-Vector Algorithm for Computing -- Levenshtein and Damerau Edit Distances" in PSC'02 (Heikki Hyyro). -- See https://web.archive.org/web/20120227082218/http://www.cs.uta.fi/~helmu/pubs/psc02.pdf and diff --git a/docs/0-user-guides/0-eta-user-guide/5-metaprogramming/0-overview.md b/docs/0-user-guides/0-eta-user-guide/5-metaprogramming/0-overview.md index 500ddf9b..1e29d1d3 100644 --- a/docs/0-user-guides/0-eta-user-guide/5-metaprogramming/0-overview.md +++ b/docs/0-user-guides/0-eta-user-guide/5-metaprogramming/0-overview.md @@ -6,7 +6,7 @@ Metaprogramming provides a way to manipulate code as you would data. Eta provide ## Example -In the example below, `makeLenses` is a template function from the [lens](http://hackage.haskell.org/package/lens) package that is evaluated at compile-time and generates some code. The function takes a single parameter: a type. +In the example below, `makeLenses` is a template function from the [lens](https://hackage.haskell.org/package/lens) package that is evaluated at compile-time and generates some code. The function takes a single parameter: a type. ```eta import Control.Lens diff --git a/libraries/base/Control/Arrow.hs b/libraries/base/Control/Arrow.hs index e9dd7816..c19480b4 100644 --- a/libraries/base/Control/Arrow.hs +++ b/libraries/base/Control/Arrow.hs @@ -22,7 +22,7 @@ -- Firenze, Italy, pp229-240. -- -- These papers and more information on arrows can be found at --- . +-- . module Control.Arrow ( -- * Arrows diff --git a/libraries/base/Data/Bits.hs b/libraries/base/Data/Bits.hs index bae2fd73..cc15116f 100644 --- a/libraries/base/Data/Bits.hs +++ b/libraries/base/Data/Bits.hs @@ -332,7 +332,7 @@ class Bits b => FiniteBits b where -- @ -- -- The related - -- + -- -- can be expressed in terms of 'countTrailingZeros' as follows -- -- @ diff --git a/libraries/base/Data/Char.hs b/libraries/base/Data/Char.hs index 669d7e50..b705bfb9 100644 --- a/libraries/base/Data/Char.hs +++ b/libraries/base/Data/Char.hs @@ -120,7 +120,7 @@ digitToInt c -- * 'OtherLetter' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Letter\". -- @@ -169,7 +169,7 @@ isLetter c = case generalCategory c of -- * 'EnclosingMark' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Mark\". -- @@ -211,7 +211,7 @@ isMark c = case generalCategory c of -- * 'OtherNumber' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Number\". -- @@ -253,7 +253,7 @@ isNumber c = case generalCategory c of -- * 'ParagraphSeparator' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Separator\". -- diff --git a/libraries/base/Data/OldList.hs b/libraries/base/Data/OldList.hs index ccfa5726..de2e5f54 100644 --- a/libraries/base/Data/OldList.hs +++ b/libraries/base/Data/OldList.hs @@ -929,7 +929,7 @@ sortBy cmp = foldr (insertBy cmp) [] GHC's mergesort replaced by a better implementation, 24/12/2009. This code originally contributed to the nhc12 compiler by Thomas Nordin in 2002. Rumoured to have been based on code by Lennart Augustsson, e.g. - http://www.mail-archive.com/haskell@haskell.org/msg01822.html + https://www.mail-archive.com/haskell@haskell.org/msg01822.html and possibly to bear similarities to a 1982 paper by Richard O'Keefe: "A smooth applicative merge sort". diff --git a/libraries/base/Data/Traversable.hs b/libraries/base/Data/Traversable.hs index 59c059ae..f939ad4f 100644 --- a/libraries/base/Data/Traversable.hs +++ b/libraries/base/Data/Traversable.hs @@ -34,7 +34,7 @@ -- * \"An Investigation of the Laws of Traversals\", -- by Mauro Jaskelioff and Ondrej Rypacek, -- in /Mathematically-Structured Functional Programming/, 2012, online at --- . +-- . -- ----------------------------------------------------------------------------- diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index eca4d780..adcb8db2 100644 --- a/libraries/base/GHC/Base.hs +++ b/libraries/base/GHC/Base.hs @@ -399,7 +399,7 @@ instance Semigroup a => Semigroup (Maybe a) where stimes = stimesMaybe -- | Lift a semigroup into 'Maybe' forming a 'Monoid' according to --- : \"Any semigroup @S@ may be +-- : \"Any semigroup @S@ may be -- turned into a monoid simply by adjoining an element @e@ not in @S@ -- and defining @e*e = e@ and @e*s = s = s*e@ for all @s ∈ S@.\" -- diff --git a/libraries/base/GHC/Conc/Sync.hs b/libraries/base/GHC/Conc/Sync.hs index 28e27a2d..110cdb65 100644 --- a/libraries/base/GHC/Conc/Sync.hs +++ b/libraries/base/GHC/Conc/Sync.hs @@ -506,7 +506,7 @@ the debugging output to make distinction of different threads easier (otherwise you only have the thread state object\'s address in the heap). Other applications like the graphical Concurrent Haskell Debugger -() may choose to overload +() may choose to overload 'labelThread' for their purposes as well. -} diff --git a/libraries/base/GHC/Generics.hs b/libraries/base/GHC/Generics.hs index b3fad977..430b0b57 100644 --- a/libraries/base/GHC/Generics.hs +++ b/libraries/base/GHC/Generics.hs @@ -25,7 +25,7 @@ -- @since 4.6.0.0 -- -- If you're using @GHC.Generics@, you should consider using the --- package, which +-- package, which -- contains many useful generic functions. module GHC.Generics ( diff --git a/libraries/base/GHC/IO/Encoding/Failure.hs b/libraries/base/GHC/IO/Encoding/Failure.hs index e6a56bab..9ab74583 100644 --- a/libraries/base/GHC/IO/Encoding/Failure.hs +++ b/libraries/base/GHC/IO/Encoding/Failure.hs @@ -100,7 +100,7 @@ codingFailureModeSuffix RoundtripFailure = "//ROUNDTRIP" -- unknown bytes. -- -- This is the defined Unicode replacement character: --- +-- unrepresentableChar :: Char unrepresentableChar = '\xFFFD' diff --git a/libraries/base/GHC/Unicode.hs b/libraries/base/GHC/Unicode.hs index 424e066e..0e8f5b6d 100644 --- a/libraries/base/GHC/Unicode.hs +++ b/libraries/base/GHC/Unicode.hs @@ -254,7 +254,7 @@ isHexDigit c = isDigit c || -- * 'OtherPunctuation' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Punctuation\". -- @@ -298,7 +298,7 @@ isPunctuation c = case generalCategory c of -- * 'OtherSymbol' -- -- These classes are defined in the --- , +-- , -- part of the Unicode standard. The same document defines what is -- and is not a \"Symbol\". -- diff --git a/libraries/base/java-utils/Utils.java b/libraries/base/java-utils/Utils.java index 2d10f619..45131c3e 100644 --- a/libraries/base/java-utils/Utils.java +++ b/libraries/base/java-utils/Utils.java @@ -378,7 +378,7 @@ public static void set_errno(int errnoCode) { errno.set(errnoCode); } - // Taken from: http://stackoverflow.com/questions/14524751/cast-object-to-generic-type-for-returning + // Taken from: https://stackoverflow.com/questions/14524751/cast-object-to-generic-type-for-returning public static T convertInstanceOfObject(Object o, Class clazz) { try { return clazz.cast(o); diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs index 6c25a2fc..1b4c10c9 100644 --- a/libraries/ghc-prim/GHC/Types.hs +++ b/libraries/ghc-prim/GHC/Types.hs @@ -54,7 +54,7 @@ data Bool = False | True {- | The character type 'Char' is an enumeration whose values represent Unicode (or equivalently ISO\/IEC 10646) characters (see - for details). This set extends the ISO 8859-1 + for details). This set extends the ISO 8859-1 (Latin-1) character set (the first 256 characters), which is itself an extension of the ASCII character set (the first 128 characters). A character literal in Haskell has type 'Char'. diff --git a/libraries/integer/GHC/Integer/Type.hs b/libraries/integer/GHC/Integer/Type.hs index 2ef9775e..52ccf90f 100644 --- a/libraries/integer/GHC/Integer/Type.hs +++ b/libraries/integer/GHC/Integer/Type.hs @@ -745,7 +745,7 @@ recipModInteger (J# o1#) (J# o2#) = smartJ# (recipModInteger# o1# o2#) -- -- The @/k/@ argument controls how many test rounds are performed for -- determining a /probable prime/. For more details, see --- . +-- . -- -- /Since: 0.5.1.0/ -- TODO: Second argument is certainty, not # of rounds diff --git a/libraries/integer/integer.cabal b/libraries/integer/integer.cabal index 6d940874..31150934 100644 --- a/libraries/integer/integer.cabal +++ b/libraries/integer/integer.cabal @@ -10,7 +10,7 @@ synopsis: Integer library based on GMP description: This package provides the low-level implementation of the standard 'Integer' type based on the - . + . . This package provides access to the internal representation of 'Integer' as well as primitive operations with no proper error diff --git a/utils/class-verifier/Verify.java b/utils/class-verifier/Verify.java index 42b563c3..fb9b5fbc 100644 --- a/utils/class-verifier/Verify.java +++ b/utils/class-verifier/Verify.java @@ -11,7 +11,7 @@ import java.io.IOException; // Adapted from -// http://stackoverflow.com/questions/11016092/how-to-load-classes-at-runtime-from-a-folder-or-jar +// https://stackoverflow.com/questions/11016092/how-to-load-classes-at-runtime-from-a-folder-or-jar public class Verify { public static void main(String[] args) throws IOException, From 6439726319f07ad4ec20724a5c51f0599af94791 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sun, 31 Jul 2022 10:57:36 -0400 Subject: [PATCH 32/32] download.java.net/maven/1 is dead So is /2 ... this is the replacement for /2 ... --- .../3-configuration/1-dependency-management.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/0-user-guides/1-etlas-user-guide/3-configuration/1-dependency-management.md b/docs/0-user-guides/1-etlas-user-guide/3-configuration/1-dependency-management.md index 053d29db..5f6a726d 100644 --- a/docs/0-user-guides/1-etlas-user-guide/3-configuration/1-dependency-management.md +++ b/docs/0-user-guides/1-etlas-user-guide/3-configuration/1-dependency-management.md @@ -108,13 +108,11 @@ The `maven-repos` field can take a URL to a Maven repository OR a keyword from t | Keyword | Maven Repository URL | | -------------------------- | -------------------------------------------------------- | | `central` | `https://repo1.maven.org/maven2/` | -| `javaNet1` | `http://download.java.net/maven/1/` | +| `javaNet1` | `https://maven.java.net/content/groups/public/` | | `sonatype:[type]` | `https://oss.sonatype.org/content/repositories/[type]` | | `jcenter` | `https://jcenter.bintray.com/` | -| `bintray:[owner]:[repo]` | `https://dl.bintray.com/[owner]/[repo]/` | - `[type]` should be one of `public`, `snapshots`, or `releases`. -- `[owner]` should be the owner of the repository and `[repo]` should be the name of the Bintray repository. **NOTE:** If you need to access a Maven repository that requires credentials, you can specify the URL in the form `http://[user]:[pass]@[repo-url]`.