diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-07-18 17:29:13 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-07-18 17:29:13 -0400 |
commit | db71493ffd90e2668259efbb549f7a781c2530db (patch) | |
tree | eda48e786ad2690ca0f2dc994a44290d74302129 /tests | |
parent | e2b9068b56e352d5e3680fe5e4e0849169c5f419 (diff) |
Support fancy expressions in module-level 'val' declarations
Diffstat (limited to 'tests')
-rw-r--r-- | tests/longConst.ur | 12 | ||||
-rw-r--r-- | tests/longConst.urp | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/longConst.ur b/tests/longConst.ur new file mode 100644 index 00000000..d81e2ad9 --- /dev/null +++ b/tests/longConst.ur @@ -0,0 +1,12 @@ +val ls = 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: 1 :: 2 :: 3 :: 4 :: 5 :: 6 + :: [] + +fun main () : transaction page = return <xml><body> + {List.mapX txt ls}<br/> + {List.mapX txt ls} +</body></xml> diff --git a/tests/longConst.urp b/tests/longConst.urp new file mode 100644 index 00000000..0710a6fa --- /dev/null +++ b/tests/longConst.urp @@ -0,0 +1,2 @@ +$/list +longConst |