aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test/src
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 20:30:37 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 22:37:50 +0200
commit9dfb3f87cf71042eb883e228a8c6c7f25c743118 (patch)
tree9993d5636d478e177573cb196047ae0c28b68e2a /hypsrc-test/src
parent354d3296371099bad2729cf7b5445d23a107c6c5 (diff)
Add test case for literal syntax highlighting.
Diffstat (limited to 'hypsrc-test/src')
-rw-r--r--hypsrc-test/src/Literals.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/hypsrc-test/src/Literals.hs b/hypsrc-test/src/Literals.hs
new file mode 100644
index 00000000..997b6615
--- /dev/null
+++ b/hypsrc-test/src/Literals.hs
@@ -0,0 +1,17 @@
+module Literals where
+
+
+str :: String
+str = "str literal"
+
+num :: Num a => a
+num = 0 + 1 + 1010011 * 41231 + 12131
+
+frac :: Fractional a => a
+frac = 42.0000001
+
+list :: [[[[a]]]]
+list = [[], [[]], [[[]]]]
+
+pair :: ((), ((), (), ()), ())
+pair = ((), ((), (), ()), ())