big tidy
This commit is contained in:
parent
bd9b58c405
commit
687b5f1040
6 changed files with 54 additions and 39 deletions
|
@ -2,7 +2,7 @@ module Logic.Language where
|
|||
|
||||
-- Convenience newtype so strings of symbols are less ugly
|
||||
newtype ConcatShowList symbol = ConcatShowList [symbol]
|
||||
instance Show a => Show (ConcatShowList a) where
|
||||
instance Show symbol => Show (ConcatShowList symbol) where
|
||||
show (ConcatShowList xs) = concat $ map show xs
|
||||
|
||||
-- Formal language (/grammar/production system/whatever)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue