tidy: del unused Eq, add custom Show

This commit is contained in:
hi 2025-08-12 13:28:58 +00:00
parent 56a8dd2b30
commit 88c140fed5
6 changed files with 32 additions and 11 deletions

View file

@ -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.