Skip to content

Commit

Permalink
Fixed all the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed May 22, 2021
1 parent 3178672 commit 4592b80
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion parsley.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ library
text >= 1.2.3 && < 1.3,
-- Not sure about this one, 0.11.0.0 introduced a type synonym for PS, so it _should_ work
bytestring >= 0.10.8 && < 0.12
build-tool-depends: cpphs:cpphs >= 1.19
build-tool-depends: cpphs:cpphs >= 1.18.8 && < 1.21
hs-source-dirs: src/ghc
if impl(ghc >= 8.10)
hs-source-dirs: src/ghc-8.10+
Expand Down
4 changes: 2 additions & 2 deletions src/ghc-8.10+/Parsley/Internal/Backend/Machine/InputRep.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
UnboxedTuples,
StandaloneKindSignatures #-}
module Parsley.Internal.Backend.Machine.InputRep (
Rep,
Rep, RepKind,
intSame, intLess, min#, max#,
offWith, offWithSame, offWithShiftRight,
OffWith, offWith, offWithSame, offWithShiftRight,
--OffWithStreamAnd(..),
UnpackedLazyByteString, emptyUnpackedLazyByteString,
Stream, dropStream,
Expand Down
2 changes: 1 addition & 1 deletion src/ghc/Parsley/Internal/Backend/InstructionAnalyser.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE MultiParamTypeClasses,
TypeFamilies,
UndecidableInstances #-}
module Parsley.Internal.Backend.InstructionAnalyser (coinsNeeded, relevancy) where
module Parsley.Internal.Backend.InstructionAnalyser (coinsNeeded, relevancy, Length) where

import Data.Kind (Type)
import Parsley.Internal.Backend.Machine (Instr(..), MetaInstr(..))
Expand Down
3 changes: 2 additions & 1 deletion src/ghc/Parsley/Internal/Common/Fresh.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ module Parsley.Internal.Common.Fresh (
runFreshT, runFresh,
evalFreshT, evalFresh,
execFreshT, execFresh,
MonadFresh(..), construct, mapVFreshT
MonadFresh(..), construct, mapVFreshT,
RunFreshT
) where

import Control.Applicative (liftA2)
Expand Down
2 changes: 1 addition & 1 deletion src/ghc/Parsley/Precedence.hs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ data Level a b = InfixL [Parser (b -> a -> b)] (Defunc (a -> b)) -- ^ left-asso
| Postfix [Parser (b -> b)] (Defunc (a -> b)) -- ^ postfix unary operators

{-|
This class provides a way of working with the `Level` datatype without needing to
This class provides a way of working with the t`Level` datatype without needing to
provide wrappers, or not providing `Defunc` arguments.
@since 0.1.0.0
Expand Down

0 comments on commit 4592b80

Please sign in to comment.