Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,321
Issues
4,321
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
367
Merge Requests
367
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
e839ee2f
Commit
e839ee2f
authored
Jun 20, 2018
by
Gabor Greif
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A few more typofixes in docs/comments [ci skip]
parent
7363ba45
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
compiler/basicTypes/MkId.hs
compiler/basicTypes/MkId.hs
+1
-1
compiler/main/SysTools/BaseDir.hs
compiler/main/SysTools/BaseDir.hs
+1
-1
compiler/typecheck/TcMatches.hs
compiler/typecheck/TcMatches.hs
+1
-1
compiler/utils/Pair.hs
compiler/utils/Pair.hs
+1
-1
docs/users_guide/glasgow_exts.rst
docs/users_guide/glasgow_exts.rst
+1
-1
libraries/template-haskell/Language/Haskell/TH/Syntax.hs
libraries/template-haskell/Language/Haskell/TH/Syntax.hs
+1
-1
No files found.
compiler/basicTypes/MkId.hs
View file @
e839ee2f
...
...
@@ -124,7 +124,7 @@ Note [magicIds]
~~~~~~~~~~~~~~~
The magicIds
* Are exported from GHC.Maic
* Are exported from GHC.Ma
g
ic
* Can be defined in Haskell (and are, in ghc-prim:GHC/Magic.hs).
This definition at least generates Haddock documentation for them.
...
...
compiler/main/SysTools/BaseDir.hs
View file @
e839ee2f
...
...
@@ -201,7 +201,7 @@ foreign import WINDOWS_CCONV unsafe "dynamic"
makeGetFinalPathNameByHandle
::
FunPtr
GetFinalPath
->
GetFinalPath
#
elif
defined
(
darwin_HOST_OS
)
||
defined
(
linux_HOST_OS
)
-- on unix, this is a bit more confusing.
-- The layout right now is some
ht
ing like
-- The layout right now is some
th
ing like
--
-- /bin/ghc-X.Y.Z <- wrapper script (1)
-- /bin/ghc <- symlink to wrapper script (2)
...
...
compiler/typecheck/TcMatches.hs
View file @
e839ee2f
...
...
@@ -986,7 +986,7 @@ When typechecking
we want to typecheck 'bar' in the knowledge that it should be an IO thing,
pushing info from the context into the RHS. To do this, we check the
rebindable syntax first, and push that information into (tcMonoExprNC rhs).
Otherwise the error shows up when cheking the rebindable syntax, and
Otherwise the error shows up when che
c
king the rebindable syntax, and
the expected/inferred stuff is back to front (see Trac #3613).
Note [typechecking ApplicativeStmt]
...
...
compiler/utils/Pair.hs
View file @
e839ee2f
...
...
@@ -18,7 +18,7 @@ data Pair a = Pair { pFst :: a, pSnd :: a }
-- Note that Pair is a *unary* type constructor
-- whereas (,) is binary
-- The important thing about Pair is that it has a *homogenous*
-- The important thing about Pair is that it has a *homogen
e
ous*
-- Functor instance, so you can easily apply the same function
-- to both components
instance
Functor
Pair
where
...
...
docs/users_guide/glasgow_exts.rst
View file @
e839ee2f
...
...
@@ -540,7 +540,7 @@ corresponds closely to the underlying bit-encoding of the number.
In this notation floating point numbers are written using hexadecimal digits,
and so the digits are interpreted using base 16, rather then the usual 10.
This means that digits left of the decimal point correspond to positive
powers of 16, while the ones to the right correspond to nega
it
ve ones.
powers of 16, while the ones to the right correspond to nega
ti
ve ones.
You may also write an explicit exponent, which is similar to the exponent
in decimal notation with the following differences:
...
...
libraries/template-haskell/Language/Haskell/TH/Syntax.hs
View file @
e839ee2f
...
...
@@ -494,7 +494,7 @@ addForeignSource lang src = do
runIO
$
writeFile
path
src
addForeignFilePath
lang
path
-- | Same as 'addForeignSource', but expects to rec
ie
ve a path pointing to the
-- | Same as 'addForeignSource', but expects to rec
ei
ve a path pointing to the
-- foreign file instead of a 'String' of its contents. Consider using this in
-- conjunction with 'addTempFile'.
--
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment