Created
September 18, 2010 16:06
-
-
Save konn/585795 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TemplateHaskell #-} | |
import InfTree | |
main = print $(infTree) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE TemplateHaskell #-} | |
module InfTree where | |
import Language.Haskell.TH | |
infTree :: ExpQ | |
infTree = appE (conE 'Just) infTree |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment