diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-01-11 17:52:20 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-01-12 13:30:29 +0100 |
commit | c6b0486578c0df2b4ee7c440a95b515293e5b3e6 (patch) | |
tree | 8e2633922da964f589a47f4376529cc50ff78c8d /docs | |
parent | f9df77e4abb2a5d83040ad5dd2dc19df6e055c5c (diff) | |
download | haskell-c6b0486578c0df2b4ee7c440a95b515293e5b3e6.tar.gz |
Typos in manual, comments and tests
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/separate_compilation.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst index 53258d07d8..4f862e5e2c 100644 --- a/docs/users_guide/separate_compilation.rst +++ b/docs/users_guide/separate_compilation.rst @@ -845,13 +845,13 @@ to ``hs-boot`` files, but with some slight changes: type family ClosedFam a where .. - The ``..`` is meant literally -- you shoudl write two dots in + The ``..`` is meant literally -- you should write two dots in your file. The ``where`` clause distinguishes closed families from open ones. - A data type declaration can either be given in full, exactly as in Haskell, or it can be given abstractly, by omitting the '=' - sign and everything tha follows. For example: :: + sign and everything that follows. For example: :: signature A where data T a b @@ -907,7 +907,7 @@ to ``hs-boot`` files, but with some slight changes: These declarations can be implemented by type synonyms of kind ``Constraint``; this can be useful if you want to parametrize over a constraint in functions. For example, with the - ``ConstraintKinds`` extension, this type synonym is avalid + ``ConstraintKinds`` extension, this type synonym is a valid implementation of the signature above:: module A where |