bad core parser just to make development easier

REPLACE WITH A REAL PARSER EVENTUALLY!!!!!!!!!!!!!!
This commit is contained in:
crumbtoo
2023-11-15 16:49:02 -07:00
parent 84e79a5b94
commit 5559f66576
5 changed files with 120 additions and 18 deletions

View File

@@ -5,6 +5,7 @@ module Data.Pretty
, precPretty
, prettyPrint
, prettyShow
, iShow
, iBracket
, withPrec
, bracketPrec
@@ -69,6 +70,9 @@ withPrec n s p
bracketPrec :: Int -> Int -> ISeq -> ISeq
bracketPrec n p s = withPrec n s p
iShow :: (Show a) => a -> ISeq
iShow = IStr . show
----------------------------------------------------------------------------------
instance (Pretty a) => Pretty (Maybe a) where