tidy: del unused Eq, add custom Show
This commit is contained in:
parent
56a8dd2b30
commit
88c140fed5
6 changed files with 32 additions and 11 deletions
|
@ -7,7 +7,7 @@ instance Show a => Show (ConcatShowList a) where
|
|||
|
||||
-- Formal language (/grammar/production system/whatever)
|
||||
-- https://en.wikipedia.org/wiki/Post_canonical_system
|
||||
class (Eq symbol, Show symbol) => Language symbol where
|
||||
class Show symbol => Language symbol where
|
||||
isWellFormed :: [symbol] -> Bool
|
||||
|
||||
-- If Haskell had dependent types these could be generalized.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue