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 20, 2024
1 parent c4a7dec commit 322432f
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 322432f

Please sign in to comment.