summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/encoding/TH.hs
blob: 8cb52b3f1139151372adcea15dbeb3d824e80503 (plain) (blame)
1
2
3
4
5
6
7
module TH (foo) where

import Language.Haskell.TH
import Language.Haskell.TH.Syntax (lift)

foo :: Q Exp
foo = runIO (readFile "tests/encoding/unicode.txt") >>= lift