Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8768356a
Commit
8768356a
authored
Jan 25, 2013
by
Gabor Greif
💬
Browse files
typos
parent
2cd51383
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/base/GHC/TypeLits.hs
View file @
8768356a
...
...
@@ -239,7 +239,7 @@ instance Show (a :~: b) where
{- | Check if two type-natural singletons of potentially different types
are indeed the same, by comparing their runtime representations.
WARNING: in combination with `unsafeSingNat` this may lead to unsoudness:
WARNING: in combination with `unsafeSingNat` this may lead to unsou
n
dness:
> eqSingNat (sing :: Sing 1) (unsafeSingNat 1 :: Sing 2)
> == Just (Refl :: 1 :~: 2)
...
...
@@ -253,7 +253,7 @@ eqSingNat x y
{- | Check if two symbol singletons of potentially different types
are indeed the same, by comparing their runtime representations.
WARNING: in combination with `unsafeSingSymbol` this may lead to unsoudness
WARNING: in combination with `unsafeSingSymbol` this may lead to unsou
n
dness
(see `eqSingNat` for an example).
-}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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