From e4ef09f6aac55452031cc16def7048b0dd0d30cd Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 10 May 2007 13:56:41 +0000 Subject: Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful. --- src/GF/UseGrammar/Custom.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/GF/UseGrammar') diff --git a/src/GF/UseGrammar/Custom.hs b/src/GF/UseGrammar/Custom.hs index bbfb1e09e..132c832cd 100644 --- a/src/GF/UseGrammar/Custom.hs +++ b/src/GF/UseGrammar/Custom.hs @@ -270,6 +270,7 @@ customGrammarPrinter = ,(strCI "bnf", \_ -> prBNF False) ,(strCI "absbnf", \_ -> abstract2bnf . stateGrammarST) ,(strCI "haskell", \_ -> grammar2haskell . stateGrammarST) + ,(strCI "haskell_gadt", \_ -> grammar2haskellGADT . stateGrammarST) ,(strCI "transfer", \_ -> grammar2transfer . stateGrammarST) ,(strCI "morpho", \_ -> prMorpho . stateMorpho) ,(strCI "fullform",\_ -> prFullForm . stateMorpho) -- cgit v1.2.3