packages feed

aihc-parser-1.0.0.2: test/Test/Fixtures/golden/module/template-haskell-operator-splice.yaml

extensions: [TemplateHaskell]
input: |
  {-# LANGUAGE TemplateHaskell #-}
  module TH_Operator_Splice where

  x = $(&&)
  y = $(+)
ast: |-
  Module {ModuleHead {"TH_Operator_Splice"}, [TemplateHaskell], [DeclValue (PatternBind (PVar "x") (ETHSplice (EVar "&&"))), DeclValue (PatternBind (PVar "y") (ETHSplice (EVar "+")))]}
status: pass