summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.hs
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-05-16 00:46:12 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-05-16 00:46:12 -0400
commit8c0535b22a34ec89214840a8a87930d07f4ca150 (patch)
tree55945f2d5eb2b814644217af63569e4422b65c7b /tests/examplefiles/example.hs
parente321d839b5e470643002ac35af6a95aa16464618 (diff)
downloadpygments-8c0535b22a34ec89214840a8a87930d07f4ca150.tar.gz
Use unistring list to enable support for unicode leading character in Haskell
Diffstat (limited to 'tests/examplefiles/example.hs')
-rw-r--r--tests/examplefiles/example.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/examplefiles/example.hs b/tests/examplefiles/example.hs
index 58e44042..9efd3364 100644
--- a/tests/examplefiles/example.hs
+++ b/tests/examplefiles/example.hs
@@ -1,3 +1,5 @@
+module ĈrazyThings where
+
import "base" Data.Char
import "base" Data.Char (isControl, isSpace)
import "base" Data.Char (isControl, --isSpace)
@@ -15,3 +17,11 @@ main :: IO ()
main = putStrLn "hello world"
gádd x y = x + y
+ádd x y = x + y
+
+
+data ĈrazyThings =
+ Ĉar |
+ House |
+ Peár
+ deriving (Show, Eq)