From bb0a52edc8d0e846c72f9703acb09e6882a1726e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 23 Apr 2023 22:17:49 +0200 Subject: Drop unused ProcName parameter type instance --- src/Parser/Expr.hs | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/Parser/Expr.hs') diff --git a/src/Parser/Expr.hs b/src/Parser/Expr.hs index 1f2382a..d609e6c 100644 --- a/src/Parser/Expr.hs +++ b/src/Parser/Expr.hs @@ -1,6 +1,4 @@ module Parser.Expr ( - procName, - varName, newVarName, addVarName, @@ -29,15 +27,8 @@ import Text.Megaparsec.Char import qualified Text.Megaparsec.Char.Lexer as L import Parser.Core -import Process (ProcName(..)) import Test -procName :: TestParser ProcName -procName = label "process name" $ lexeme $ do - c <- lowerChar - cs <- takeWhileP Nothing (\x -> isAlphaNum x || x == '_' || x == '-') - return $ ProcName $ TL.toStrict (c `TL.cons` cs) - identifier :: TestParser Text identifier = do lexeme $ TL.toStrict <$> takeWhile1P Nothing (\x -> isAlphaNum x || x == '_') -- cgit v1.2.3