From 322432fa4752cdf6f0426a6c675222adf9863c33 Mon Sep 17 00:00:00 2001 From: Georgy Lukyanov Date: Tue, 20 Aug 2024 14:40:40 +0200 Subject: [PATCH] Remove commented-out code --- booster/library/Booster/Definition/Attributes/Reader.hs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/booster/library/Booster/Definition/Attributes/Reader.hs b/booster/library/Booster/Definition/Attributes/Reader.hs index 02109bd470e..dcec0665427 100644 --- a/booster/library/Booster/Definition/Attributes/Reader.hs +++ b/booster/library/Booster/Definition/Attributes/Reader.hs @@ -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