diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-02 17:52:01 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-02 17:52:01 +0200 |
commit | 438e4a1b062a73b667adf0fd94167dcc311929d3 (patch) | |
tree | f2bed41f845106c51d36f048a0e23d5f27064fa2 /testdata/Internals.out | |
parent | 769c7ac09e66bcae5ca34009734b5e184ce2e0f0 (diff) |
more list syntax in pretty print
Diffstat (limited to 'testdata/Internals.out')
-rw-r--r-- | testdata/Internals.out | 84 |
1 files changed, 41 insertions, 43 deletions
diff --git a/testdata/Internals.out b/testdata/Internals.out index 8d522708..d89f0fb7 100644 --- a/testdata/Internals.out +++ b/testdata/Internals.out | |||
@@ -192,15 +192,15 @@ negate | |||
192 | :: forall v . Eq v => v -> v -> Bool | 192 | :: forall v . Eq v => v -> v -> Bool |
193 | infix 4 == | 193 | infix 4 == |
194 | data List (_ :: Type) :: Type where | 194 | data List (_ :: Type) :: Type where |
195 | [] :: List _a | 195 | [] :: forall a . [a] |
196 | (:) :: _a -> List _a -> List _a | 196 | (:) :: forall b . b -> [b] -> [b] |
197 | infixr 5 : | 197 | infixr 5 : |
198 | data HList :: List Type -> Type where | 198 | data HList :: [Type] -> Type where |
199 | HNil :: HList 'Nil | 199 | HNil :: HList '[] |
200 | HCons :: forall (a :: _) (b :: _) . a -> HList b -> HList (a : b) | 200 | HCons :: forall (a :: _) (b :: _) . a -> HList b -> HList (a : b) |
201 | hlistNilCase :: forall (a :: _) -> a -> HList [] -> a | 201 | hlistNilCase :: forall (a :: _) -> a -> HList [] -> a |
202 | hlistConsCase | 202 | hlistConsCase |
203 | :: forall a (b :: List Type) | 203 | :: forall a (b :: [Type]) |
204 | . forall (c :: _) -> (a -> HList b -> c) -> HList (a : b) -> c | 204 | . forall (c :: _) -> (a -> HList b -> c) -> HList (a : b) -> c |
205 | main is not found | 205 | main is not found |
206 | ------------ trace | 206 | ------------ trace |
@@ -288,31 +288,30 @@ negate :: forall a . Num a => a -> a | |||
288 | 'Eq :: Type -> Type | 288 | 'Eq :: Type -> Type |
289 | == :: forall a . Eq a => a -> a -> Bool | 289 | == :: forall a . Eq a => a -> a -> Bool |
290 | 'List :: Type -> Type | 290 | 'List :: Type -> Type |
291 | [] :: forall a . List a | 291 | [] :: forall a . [a] |
292 | (:) :: forall a . a -> List a -> List a | 292 | (:) :: forall a . a -> [a] -> [a] |
293 | 'ListCase | 293 | 'ListCase |
294 | :: forall a | 294 | :: forall a |
295 | . forall (b :: List a -> Type) | 295 | . forall (b :: [a] -> Type) |
296 | -> b 'Nil | 296 | -> b '[] |
297 | -> (forall (c :: a) (d :: List a) -> b (: c d)) -> forall (e :: List a) -> b e | 297 | -> (forall (c :: a) (d :: [a]) -> b (: c d)) -> forall (e :: [a]) -> b e |
298 | match'List | 298 | match'List |
299 | :: forall (a :: Type -> Type) | 299 | :: forall (a :: Type -> Type) -> (forall b -> a [b]) -> forall c -> a c -> a c |
300 | -> (forall b -> a (List b)) -> forall c -> a c -> a c | 300 | 'HList :: [Type] -> Type |
301 | 'HList :: List Type -> Type | ||
302 | HNil :: () | 301 | HNil :: () |
303 | HCons :: forall a (b :: List Type) . a -> HList b -> HList (: a b) | 302 | HCons :: forall a (b :: [Type]) . a -> HList b -> HList (: a b) |
304 | 'HListCase | 303 | 'HListCase |
305 | :: forall (a :: forall (b :: List Type) -> HList b -> Type) | 304 | :: forall (a :: forall (b :: [Type]) -> HList b -> Type) |
306 | -> a 'Nil () | 305 | -> a '[] () |
307 | -> (forall c (d :: List Type) | 306 | -> (forall c (d :: [Type]) |
308 | . forall (e :: c) (f :: HList d) -> a (: c d) ('HCons c d e f)) | 307 | . forall (e :: c) (f :: HList d) -> a (: c d) ('HCons c d e f)) |
309 | -> forall (g :: List Type) . forall (h :: HList g) -> a g h | 308 | -> forall (g :: [Type]) . forall (h :: HList g) -> a g h |
310 | match'HList | 309 | match'HList |
311 | :: forall (a :: Type -> Type) | 310 | :: forall (a :: Type -> Type) |
312 | -> (forall (b :: List Type) -> a (HList b)) -> forall c -> a c -> a c | 311 | -> (forall (b :: [Type]) -> a (HList b)) -> forall c -> a c -> a c |
313 | hlistNilCase :: forall a -> a -> () -> a | 312 | hlistNilCase :: forall a -> a -> () -> a |
314 | hlistConsCase | 313 | hlistConsCase |
315 | :: forall a (b :: List Type) | 314 | :: forall a (b :: [Type]) |
316 | . forall c -> (a -> HList b -> c) -> HList (: a b) -> c | 315 | . forall c -> (a -> HList b -> c) -> HList (: a b) -> c |
317 | ------------ tooltips | 316 | ------------ tooltips |
318 | testdata/Internals.lc 6:1-6:8 | 317 | testdata/Internals.lc 6:1-6:8 |
@@ -828,9 +827,9 @@ testdata/Internals.lc 122:6-122:35 | |||
828 | testdata/Internals.lc 122:11-122:12 | 827 | testdata/Internals.lc 122:11-122:12 |
829 | Type | Type | 828 | Type | Type |
830 | testdata/Internals.lc 122:15-122:18 | 829 | testdata/Internals.lc 122:15-122:18 |
831 | forall a . List a | List _b | 830 | forall a . [a] | [_b] |
832 | testdata/Internals.lc 122:22-122:23 | 831 | testdata/Internals.lc 122:22-122:23 |
833 | forall a . a -> List a -> List a | List _e | Type | Type | Type | 832 | forall a . a -> [a] -> [a] | [_e] | Type | Type | Type |
834 | testdata/Internals.lc 122:25-122:26 | 833 | testdata/Internals.lc 122:25-122:26 |
835 | Type | 834 | Type |
836 | testdata/Internals.lc 122:28-122:32 | 835 | testdata/Internals.lc 122:28-122:32 |
@@ -840,7 +839,7 @@ testdata/Internals.lc 122:28-122:34 | |||
840 | testdata/Internals.lc 122:33-122:34 | 839 | testdata/Internals.lc 122:33-122:34 |
841 | Type | 840 | Type |
842 | testdata/Internals.lc 126:6-126:11 | 841 | testdata/Internals.lc 126:6-126:11 |
843 | List Type -> Type | List Type -> Type | Type | List Type -> Type | Type | Type | 842 | [Type] -> Type | [Type] -> Type | Type | [Type] -> Type | Type | Type |
844 | testdata/Internals.lc 126:6-128:45 | 843 | testdata/Internals.lc 126:6-128:45 |
845 | Type | Type | 844 | Type | Type |
846 | testdata/Internals.lc 126:15-126:21 | 845 | testdata/Internals.lc 126:15-126:21 |
@@ -854,13 +853,13 @@ testdata/Internals.lc 127:5-127:9 | |||
854 | testdata/Internals.lc 127:5-127:22 | 853 | testdata/Internals.lc 127:5-127:22 |
855 | Type | 854 | Type |
856 | testdata/Internals.lc 127:13-127:18 | 855 | testdata/Internals.lc 127:13-127:18 |
857 | List Type -> Type | 856 | [Type] -> Type |
858 | testdata/Internals.lc 127:13-127:22 | 857 | testdata/Internals.lc 127:13-127:22 |
859 | Type | 858 | Type |
860 | testdata/Internals.lc 127:19-127:22 | 859 | testdata/Internals.lc 127:19-127:22 |
861 | forall a . List a | forall a . List a | 860 | forall a . [a] | forall a . [a] |
862 | testdata/Internals.lc 128:5-128:10 | 861 | testdata/Internals.lc 128:5-128:10 |
863 | forall a (b :: List Type) . a -> HList b -> HList (: a b) | HList (: _d _c) | 862 | forall a (b :: [Type]) . a -> HList b -> HList (: a b) | HList (: _d _c) |
864 | testdata/Internals.lc 128:5-128:45 | 863 | testdata/Internals.lc 128:5-128:45 |
865 | Type | Type | Type | Type | Type | 864 | Type | Type | Type | Type | Type |
866 | testdata/Internals.lc 128:14-128:15 | 865 | testdata/Internals.lc 128:14-128:15 |
@@ -868,7 +867,7 @@ testdata/Internals.lc 128:14-128:15 | |||
868 | testdata/Internals.lc 128:14-128:45 | 867 | testdata/Internals.lc 128:14-128:45 |
869 | Type | Type | 868 | Type | Type |
870 | testdata/Internals.lc 128:19-128:24 | 869 | testdata/Internals.lc 128:19-128:24 |
871 | List Type -> Type | 870 | [Type] -> Type |
872 | testdata/Internals.lc 128:19-128:27 | 871 | testdata/Internals.lc 128:19-128:27 |
873 | Type | 872 | Type |
874 | testdata/Internals.lc 128:19-128:45 | 873 | testdata/Internals.lc 128:19-128:45 |
@@ -876,19 +875,19 @@ testdata/Internals.lc 128:19-128:45 | |||
876 | testdata/Internals.lc 128:25-128:27 | 875 | testdata/Internals.lc 128:25-128:27 |
877 | _c | 876 | _c |
878 | testdata/Internals.lc 128:31-128:36 | 877 | testdata/Internals.lc 128:31-128:36 |
879 | List Type -> Type | 878 | [Type] -> Type |
880 | testdata/Internals.lc 128:31-128:45 | 879 | testdata/Internals.lc 128:31-128:45 |
881 | Type | Type | 880 | Type | Type |
882 | testdata/Internals.lc 128:39-128:40 | 881 | testdata/Internals.lc 128:39-128:40 |
883 | Type | Type | 882 | Type | Type |
884 | testdata/Internals.lc 128:39-128:41 | 883 | testdata/Internals.lc 128:39-128:41 |
885 | List Type -> List Type | List Type -> List Type | 884 | [Type] -> [Type] | [Type] -> [Type] |
886 | testdata/Internals.lc 128:39-128:44 | 885 | testdata/Internals.lc 128:39-128:44 |
887 | List Type | List Type | 886 | [Type] | [Type] |
888 | testdata/Internals.lc 128:40-128:41 | 887 | testdata/Internals.lc 128:40-128:41 |
889 | forall a . a -> List a -> List a | forall a . a -> List a -> List a | 888 | forall a . a -> [a] -> [a] | forall a . a -> [a] -> [a] |
890 | testdata/Internals.lc 128:42-128:44 | 889 | testdata/Internals.lc 128:42-128:44 |
891 | List Type | List Type | 890 | [Type] | [Type] |
892 | testdata/Internals.lc 130:1-130:13 | 891 | testdata/Internals.lc 130:1-130:13 |
893 | forall a -> a -> () -> a | 892 | forall a -> a -> () -> a |
894 | testdata/Internals.lc 130:29-130:30 | 893 | testdata/Internals.lc 130:29-130:30 |
@@ -896,18 +895,17 @@ testdata/Internals.lc 130:29-130:30 | |||
896 | testdata/Internals.lc 130:29-130:48 | 895 | testdata/Internals.lc 130:29-130:48 |
897 | Type | 896 | Type |
898 | testdata/Internals.lc 130:34-130:39 | 897 | testdata/Internals.lc 130:34-130:39 |
899 | List Type -> Type | 898 | [Type] -> Type |
900 | testdata/Internals.lc 130:34-130:43 | 899 | testdata/Internals.lc 130:34-130:43 |
901 | Type | 900 | Type |
902 | testdata/Internals.lc 130:34-130:48 | 901 | testdata/Internals.lc 130:34-130:48 |
903 | Type | 902 | Type |
904 | testdata/Internals.lc 130:40-130:43 | 903 | testdata/Internals.lc 130:40-130:43 |
905 | forall a . List a | 904 | forall a . [a] |
906 | testdata/Internals.lc 130:47-130:48 | 905 | testdata/Internals.lc 130:47-130:48 |
907 | Type | Type | 906 | Type | Type |
908 | testdata/Internals.lc 131:1-131:14 | 907 | testdata/Internals.lc 131:1-131:14 |
909 | forall a (b :: List Type) | 908 | forall a (b :: [Type]) . forall c -> (a -> HList b -> c) -> HList (: a b) -> c |
910 | . forall c -> (a -> HList b -> c) -> HList (: a b) -> c | ||
911 | testdata/Internals.lc 132:21-132:25 | 909 | testdata/Internals.lc 132:21-132:25 |
912 | Type | 910 | Type |
913 | testdata/Internals.lc 132:33-132:37 | 911 | testdata/Internals.lc 132:33-132:37 |
@@ -925,17 +923,17 @@ testdata/Internals.lc 134:8-136:9 | |||
925 | testdata/Internals.lc 134:9-134:10 | 923 | testdata/Internals.lc 134:9-134:10 |
926 | Type | 924 | Type |
927 | testdata/Internals.lc 134:14-134:19 | 925 | testdata/Internals.lc 134:14-134:19 |
928 | List Type -> Type | 926 | [Type] -> Type |
929 | testdata/Internals.lc 134:14-134:21 | 927 | testdata/Internals.lc 134:14-134:21 |
930 | Type | 928 | Type |
931 | testdata/Internals.lc 134:14-134:26 | 929 | testdata/Internals.lc 134:14-134:26 |
932 | Type | 930 | Type |
933 | testdata/Internals.lc 134:20-134:21 | 931 | testdata/Internals.lc 134:20-134:21 |
934 | List Type | 932 | [Type] |
935 | testdata/Internals.lc 134:25-134:26 | 933 | testdata/Internals.lc 134:25-134:26 |
936 | _d | Type | 934 | _d | Type |
937 | testdata/Internals.lc 135:8-135:13 | 935 | testdata/Internals.lc 135:8-135:13 |
938 | List Type -> Type | 936 | [Type] -> Type |
939 | testdata/Internals.lc 135:8-135:20 | 937 | testdata/Internals.lc 135:8-135:20 |
940 | Type | 938 | Type |
941 | testdata/Internals.lc 135:8-136:9 | 939 | testdata/Internals.lc 135:8-136:9 |
@@ -943,12 +941,12 @@ testdata/Internals.lc 135:8-136:9 | |||
943 | testdata/Internals.lc 135:15-135:16 | 941 | testdata/Internals.lc 135:15-135:16 |
944 | Type | 942 | Type |
945 | testdata/Internals.lc 135:15-135:17 | 943 | testdata/Internals.lc 135:15-135:17 |
946 | List Type -> List Type | 944 | [Type] -> [Type] |
947 | testdata/Internals.lc 135:15-135:19 | 945 | testdata/Internals.lc 135:15-135:19 |
948 | List Type | 946 | [Type] |
949 | testdata/Internals.lc 135:16-135:17 | 947 | testdata/Internals.lc 135:16-135:17 |
950 | forall a . a -> List a -> List a | 948 | forall a . a -> [a] -> [a] |
951 | testdata/Internals.lc 135:18-135:19 | 949 | testdata/Internals.lc 135:18-135:19 |
952 | List Type | 950 | [Type] |
953 | testdata/Internals.lc 136:8-136:9 | 951 | testdata/Internals.lc 136:8-136:9 |
954 | Type | Type \ No newline at end of file | 952 | Type | Type \ No newline at end of file |