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/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/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/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 %************************************************************************ %* * 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/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/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/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/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/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/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/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..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) ... -} @@ -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/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/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/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 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 diff --git a/compiler/Eta/Prelude/primops.txt.pp b/compiler/Eta/Prelude/primops.txt.pp index 6865d149..16d2f09e 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: @@ -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/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/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 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/compiler/Eta/TypeCheck/TcGenDeriv.hs b/compiler/Eta/TypeCheck/TcGenDeriv.hs index 75781982..bc945801 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 + ...) @@ -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/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")] {- ************************************************************************ diff --git a/compiler/Eta/Types/Coercion.hs b/compiler/Eta/Types/Coercion.hs index 97f13773..a51bd003 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: @@ -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/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: 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 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/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 -- -- ---------------------------------------------------------------------------- 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 * * * diff --git a/compiler/Eta/Utils/Util.hs b/compiler/Eta/Utils/Util.hs index 3aef69bb..9160779f 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 @@ -733,11 +733,11 @@ 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 http://www.cs.uta.fi/~helmu/pubs/psc02.pdf and --- http://www.cs.uta.fi/~helmu/pubs/PSCerr.html for an explanation +-- 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 = restrictedDamerauLevenshteinDistanceWithLengths m n str1 str2 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/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/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/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/) 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]`. 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 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. 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/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/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/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 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 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/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/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" 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..de2e5f54 100644 --- a/libraries/base/Data/OldList.hs +++ b/libraries/base/Data/OldList.hs @@ -929,12 +929,12 @@ 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". 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/Data/Traversable.hs b/libraries/base/Data/Traversable.hs index ad60d6be..f939ad4f 100644 --- a/libraries/base/Data/Traversable.hs +++ b/libraries/base/Data/Traversable.hs @@ -24,17 +24,17 @@ -- * \"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, -- in /Mathematically-Structured Functional Programming/, 2006, online at --- . +-- . -- -- * \"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/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/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/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/libraries/base/base.cabal b/libraries/base/base.cabal index 41fa1c6a..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: @@ -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/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/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( diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs index cabc3659..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'. @@ -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 diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal index d435218a..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 @@ -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/GHC/Integer/Type.hs b/libraries/integer/GHC/Integer/Type.hs index 27617ca1..52ccf90f 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. @@ -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 cf2887e2..31150934 100644 --- a/libraries/integer/integer.cabal +++ b/libraries/integer/integer.cabal @@ -5,12 +5,12 @@ 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 'Integer' type based on the - . + . . This package provides access to the internal representation of 'Integer' as well as primitive operations with no proper error @@ -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 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.")) #-} 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/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, 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. --