diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-02 16:40:07 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-02 16:45:18 +0200 |
commit | 2fe36db8e0c4197fb4dd55c4de3fc15e038744a2 (patch) | |
tree | 62f0636f0fb3da4b0890343ab818e91c2abfc214 /testdata/Internals.out | |
parent | 35d5c201f7540d857956fd9459ef73706304a641 (diff) |
use (:) instead of Cons everywhere
Diffstat (limited to 'testdata/Internals.out')
-rw-r--r-- | testdata/Internals.out | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/testdata/Internals.out b/testdata/Internals.out index cec9ea8d..b2e7246e 100644 --- a/testdata/Internals.out +++ b/testdata/Internals.out | |||
@@ -193,15 +193,15 @@ negate | |||
193 | infix 4 == | 193 | infix 4 == |
194 | data List (_ :: Type) :: Type where | 194 | data List (_ :: Type) :: Type where |
195 | Nil :: List _a | 195 | Nil :: List _a |
196 | Cons :: _a -> List _a -> List _a | 196 | (:) :: _a -> List _a -> List _a |
197 | infixr 5 Cons | 197 | infixr 5 : |
198 | data HList :: List Type -> Type where | 198 | data HList :: List Type -> Type where |
199 | HNil :: HList 'Nil | 199 | HNil :: HList 'Nil |
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 Nil -> a | 201 | hlistNilCase :: forall (a :: _) -> a -> HList Nil -> a |
202 | hlistConsCase | 202 | hlistConsCase |
203 | :: forall a (b :: List Type) | 203 | :: forall a (b :: List Type) |
204 | . forall (c :: _) -> (a -> HList b -> c) -> HList (Cons 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 |
207 | typeAnn :: forall a . a -> a | 207 | typeAnn :: forall a . a -> a |
@@ -289,24 +289,23 @@ negate :: forall a . Num a => a -> a | |||
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 | Nil :: forall a . List a | 291 | Nil :: forall a . List a |
292 | Cons :: forall a . a -> List a -> List a | 292 | (:) :: forall a . a -> List a -> List a |
293 | 'ListCase | 293 | 'ListCase |
294 | :: forall a | 294 | :: forall a |
295 | . forall (b :: List a -> Type) | 295 | . forall (b :: List a -> Type) |
296 | -> b 'Nil | 296 | -> b 'Nil |
297 | -> (forall (c :: a) (d :: List a) -> b ('Cons c d)) | 297 | -> (forall (c :: a) (d :: List a) -> b (: c d)) -> forall (e :: List a) -> b e |
298 | -> forall (e :: List a) -> b e | ||
299 | match'List | 298 | match'List |
300 | :: forall (a :: Type -> Type) | 299 | :: forall (a :: Type -> Type) |
301 | -> (forall b -> a (List b)) -> forall c -> a c -> a c | 300 | -> (forall b -> a (List b)) -> forall c -> a c -> a c |
302 | 'HList :: List Type -> Type | 301 | 'HList :: List Type -> Type |
303 | HNil :: () | 302 | HNil :: () |
304 | HCons :: forall a (b :: List Type) . a -> HList b -> HList ('Cons a b) | 303 | HCons :: forall a (b :: List Type) . a -> HList b -> HList (: a b) |
305 | 'HListCase | 304 | 'HListCase |
306 | :: forall (a :: forall (b :: List Type) -> HList b -> Type) | 305 | :: forall (a :: forall (b :: List Type) -> HList b -> Type) |
307 | -> a 'Nil () | 306 | -> a 'Nil () |
308 | -> (forall c (d :: List Type) | 307 | -> (forall c (d :: List Type) |
309 | . forall (e :: c) (f :: HList d) -> a ('Cons c d) ('HCons c d e f)) | 308 | . forall (e :: c) (f :: HList d) -> a (: c d) ('HCons c d e f)) |
310 | -> forall (g :: List Type) . forall (h :: HList g) -> a g h | 309 | -> forall (g :: List Type) . forall (h :: HList g) -> a g h |
311 | match'HList | 310 | match'HList |
312 | :: forall (a :: Type -> Type) | 311 | :: forall (a :: Type -> Type) |
@@ -314,7 +313,7 @@ match'HList | |||
314 | hlistNilCase :: forall a -> a -> () -> a | 313 | hlistNilCase :: forall a -> a -> () -> a |
315 | hlistConsCase | 314 | hlistConsCase |
316 | :: forall a (b :: List Type) | 315 | :: forall a (b :: List Type) |
317 | . forall c -> (a -> HList b -> c) -> HList ('Cons a b) -> c | 316 | . forall c -> (a -> HList b -> c) -> HList (: a b) -> c |
318 | ------------ tooltips | 317 | ------------ tooltips |
319 | testdata/Internals.lc 6:1-6:8 | 318 | testdata/Internals.lc 6:1-6:8 |
320 | forall a . a -> a | 319 | forall a . a -> a |
@@ -822,23 +821,23 @@ testdata/Internals.lc 122:6-122:10 | |||
822 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type | 821 | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type -> Type | Type |
823 | testdata/Internals.lc 122:6-122:12 | 822 | testdata/Internals.lc 122:6-122:12 |
824 | Type | Type | Type | Type | 823 | Type | Type | Type | Type |
825 | testdata/Internals.lc 122:6-122:25 | 824 | testdata/Internals.lc 122:6-122:23 |
826 | Type | Type | Type | 825 | Type | Type | Type |
827 | testdata/Internals.lc 122:6-122:36 | 826 | testdata/Internals.lc 122:6-122:35 |
828 | Type | Type | 827 | Type | Type |
829 | testdata/Internals.lc 122:11-122:12 | 828 | testdata/Internals.lc 122:11-122:12 |
830 | Type | Type | 829 | Type | Type |
831 | testdata/Internals.lc 122:15-122:18 | 830 | testdata/Internals.lc 122:15-122:18 |
832 | forall a . List a | List _b | 831 | forall a . List a | List _b |
833 | testdata/Internals.lc 122:21-122:25 | 832 | testdata/Internals.lc 122:22-122:23 |
834 | forall a . a -> List a -> List a | List _e | Type | Type | Type | 833 | forall a . a -> List a -> List a | List _e | Type | Type | Type |
835 | testdata/Internals.lc 122:26-122:27 | 834 | testdata/Internals.lc 122:25-122:26 |
836 | Type | 835 | Type |
837 | testdata/Internals.lc 122:29-122:33 | 836 | testdata/Internals.lc 122:28-122:32 |
838 | Type -> Type | 837 | Type -> Type |
839 | testdata/Internals.lc 122:29-122:35 | 838 | testdata/Internals.lc 122:28-122:34 |
840 | Type | 839 | Type |
841 | testdata/Internals.lc 122:34-122:35 | 840 | testdata/Internals.lc 122:33-122:34 |
842 | Type | 841 | Type |
843 | testdata/Internals.lc 126:6-126:11 | 842 | testdata/Internals.lc 126:6-126:11 |
844 | List Type -> Type | List Type -> Type | Type | List Type -> Type | Type | Type | 843 | List Type -> Type | List Type -> Type | Type | List Type -> Type | Type | Type |
@@ -861,8 +860,7 @@ testdata/Internals.lc 127:13-127:22 | |||
861 | testdata/Internals.lc 127:19-127:22 | 860 | testdata/Internals.lc 127:19-127:22 |
862 | forall a . List a | forall a . List a | 861 | forall a . List a | forall a . List a |
863 | testdata/Internals.lc 128:5-128:10 | 862 | testdata/Internals.lc 128:5-128:10 |
864 | forall a (b :: List Type) . a -> HList b -> HList ('Cons a b) | HList | 863 | forall a (b :: List Type) . a -> HList b -> HList (: a b) | HList (: _d _c) |
865 | ('Cons _d _c) | ||
866 | testdata/Internals.lc 128:5-128:45 | 864 | testdata/Internals.lc 128:5-128:45 |
867 | Type | Type | Type | Type | Type | 865 | Type | Type | Type | Type | Type |
868 | testdata/Internals.lc 128:14-128:15 | 866 | testdata/Internals.lc 128:14-128:15 |
@@ -909,7 +907,7 @@ testdata/Internals.lc 130:47-130:48 | |||
909 | Type | Type | 907 | Type | Type |
910 | testdata/Internals.lc 131:1-131:14 | 908 | testdata/Internals.lc 131:1-131:14 |
911 | forall a (b :: List Type) | 909 | forall a (b :: List Type) |
912 | . forall c -> (a -> HList b -> c) -> HList ('Cons a b) -> c | 910 | . forall c -> (a -> HList b -> c) -> HList (: a b) -> c |
913 | testdata/Internals.lc 132:21-132:25 | 911 | testdata/Internals.lc 132:21-132:25 |
914 | Type | 912 | Type |
915 | testdata/Internals.lc 132:33-132:37 | 913 | testdata/Internals.lc 132:33-132:37 |
@@ -938,19 +936,19 @@ testdata/Internals.lc 134:25-134:26 | |||
938 | _d | Type | 936 | _d | Type |
939 | testdata/Internals.lc 135:8-135:13 | 937 | testdata/Internals.lc 135:8-135:13 |
940 | List Type -> Type | 938 | List Type -> Type |
941 | testdata/Internals.lc 135:8-135:24 | 939 | testdata/Internals.lc 135:8-135:20 |
942 | Type | 940 | Type |
943 | testdata/Internals.lc 135:8-136:9 | 941 | testdata/Internals.lc 135:8-136:9 |
944 | Type | 942 | Type |
945 | testdata/Internals.lc 135:15-135:19 | 943 | testdata/Internals.lc 135:15-135:16 |
946 | forall a . a -> List a -> List a | 944 | Type |
947 | testdata/Internals.lc 135:15-135:21 | 945 | testdata/Internals.lc 135:15-135:17 |
948 | List Type -> List Type | 946 | List Type -> List Type |
949 | testdata/Internals.lc 135:15-135:23 | 947 | testdata/Internals.lc 135:15-135:19 |
950 | List Type | 948 | List Type |
951 | testdata/Internals.lc 135:20-135:21 | 949 | testdata/Internals.lc 135:16-135:17 |
952 | Type | 950 | forall a . a -> List a -> List a |
953 | testdata/Internals.lc 135:22-135:23 | 951 | testdata/Internals.lc 135:18-135:19 |
954 | List Type | 952 | List Type |
955 | testdata/Internals.lc 136:8-136:9 | 953 | testdata/Internals.lc 136:8-136:9 |
956 | Type | Type \ No newline at end of file | 954 | Type | Type \ No newline at end of file |