Skip to content

Commit

Permalink
refactor: renamed Register to State
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Apr 8, 2024
1 parent c19e20f commit 2429ad1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gigaparsec.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ library
Text.Gigaparsec.Expr.Subtype,
Text.Gigaparsec.Patterns,
Text.Gigaparsec.Position,
Text.Gigaparsec.Registers,
Text.Gigaparsec.State,
Text.Gigaparsec.Token.Descriptions,
Text.Gigaparsec.Token.Errors,
Text.Gigaparsec.Token.Lexer,
Expand Down
2 changes: 1 addition & 1 deletion src/Text/Gigaparsec/Internal/Token/Lexer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Text.Gigaparsec.Internal.Token.Lexer (
import Text.Gigaparsec (Parsec, eof, void, empty, (<|>), atomic, unit)
import Text.Gigaparsec.Char (satisfy, string, item, endOfLine)
import Text.Gigaparsec.Combinator (skipMany, skipManyTill)
import Text.Gigaparsec.Registers (put, get, localWith, rollback)
import Text.Gigaparsec.State (put, get, localWith, rollback)
import Text.Gigaparsec.Errors.Combinator (hide)

import Text.Gigaparsec.Token.Descriptions qualified as Desc
Expand Down
2 changes: 1 addition & 1 deletion src/Text/Gigaparsec/Internal/Token/Text.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import Data.Map qualified as Map (insert, map)
import Data.Set (Set)
import Data.Set qualified as Set (toList)
import Data.List.NonEmpty (NonEmpty((:|)), sort)
import Text.Gigaparsec.Registers (Reg, make, unsafeMake, gets, modify, put, get)
import Text.Gigaparsec.State (Reg, make, unsafeMake, gets, modify, put, get)
import Text.Gigaparsec.Combinator (guardS, choice, manyTill)
import Control.Applicative (liftA3)
import Data.Maybe (catMaybes)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# LANGUAGE Safe #-}
module Text.Gigaparsec.Registers (
module Text.Gigaparsec.State (
Reg,
make, unsafeMake,
get, gets,
Expand Down

0 comments on commit 2429ad1

Please sign in to comment.