Skip to content

Commit

Permalink
Remove commented-out code
Browse files Browse the repository at this point in the history
  • Loading branch information
geo2a committed Aug 21, 2024
1 parent 3ca61d1 commit 908ddf6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions booster/library/Booster/Definition/Attributes/Reader.hs
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,6 @@ readSyntacticClauses attributes = do
| all isDigit (Text.unpack str) = first Text.pack $ readEither (Text.unpack str)
| otherwise = Left $ "invalid syntactic clause" <> (Text.pack $ show str)

-- where
-- readWord8 str =
-- readT [] = Right 50 -- HACK to accept `simplification()` from internal modules
-- readT [n]
-- | Text.null n = Right 50 -- HACK to accept `simplification("")`
-- | all isDigit (Text.unpack n) = Priority <$> readEither (Text.unpack n)
-- | otherwise = Left $ "invalid priority value " <> show n
-- readT ns = Left $ "invalid priority value " <> show ns

instance HasAttributes ParsedSymbol where
type Attributes ParsedSymbol = SymbolAttributes

Expand Down

0 comments on commit 908ddf6

Please sign in to comment.