summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-04-27 07:35:59 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-04-27 07:35:59 -0400
commit6320e0f89da5fd1afc85e36bde7351d514b02e99 (patch)
tree9419cd55c53f38da8c5958df4e698a3e10962a05 /tests
parent82018746530efcbcf17f8cde87033285c2b9a81f (diff)
Omit unnecessary parens around arrows in pretty-printing
Diffstat (limited to 'tests')
-rw-r--r--tests/pprint.ur4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pprint.ur b/tests/pprint.ur
new file mode 100644
index 00000000..5d4f7f04
--- /dev/null
+++ b/tests/pprint.ur
@@ -0,0 +1,4 @@
+fun isNone [a] (x : option a) =
+ case x of
+ None => True
+ | Some _ => False