summaryrefslogtreecommitdiff
path: root/testdata/Internals.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-02 17:52:01 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-02 17:52:01 +0200
commit438e4a1b062a73b667adf0fd94167dcc311929d3 (patch)
treef2bed41f845106c51d36f048a0e23d5f27064fa2 /testdata/Internals.out
parent769c7ac09e66bcae5ca34009734b5e184ce2e0f0 (diff)
more list syntax in pretty print
Diffstat (limited to 'testdata/Internals.out')
-rw-r--r--testdata/Internals.out84
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
193infix 4 == 193infix 4 ==
194data List (_ :: Type) :: Type where 194data List (_ :: Type) :: Type where
195 [] :: List _a 195 [] :: forall a . [a]
196 (:) :: _a -> List _a -> List _a 196 (:) :: forall b . b -> [b] -> [b]
197infixr 5 : 197infixr 5 :
198data HList :: List Type -> Type where 198data 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)
201hlistNilCase :: forall (a :: _) -> a -> HList [] -> a 201hlistNilCase :: forall (a :: _) -> a -> HList [] -> a
202hlistConsCase 202hlistConsCase
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
205main is not found 205main 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
298match'List 298match'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
302HNil :: () 301HNil :: ()
303HCons :: forall a (b :: List Type) . a -> HList b -> HList (: a b) 302HCons :: 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
310match'HList 309match'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
313hlistNilCase :: forall a -> a -> () -> a 312hlistNilCase :: forall a -> a -> () -> a
314hlistConsCase 313hlistConsCase
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
318testdata/Internals.lc 6:1-6:8 317testdata/Internals.lc 6:1-6:8
@@ -828,9 +827,9 @@ testdata/Internals.lc 122:6-122:35
828testdata/Internals.lc 122:11-122:12 827testdata/Internals.lc 122:11-122:12
829 Type | Type 828 Type | Type
830testdata/Internals.lc 122:15-122:18 829testdata/Internals.lc 122:15-122:18
831 forall a . List a | List _b 830 forall a . [a] | [_b]
832testdata/Internals.lc 122:22-122:23 831testdata/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
834testdata/Internals.lc 122:25-122:26 833testdata/Internals.lc 122:25-122:26
835 Type 834 Type
836testdata/Internals.lc 122:28-122:32 835testdata/Internals.lc 122:28-122:32
@@ -840,7 +839,7 @@ testdata/Internals.lc 122:28-122:34
840testdata/Internals.lc 122:33-122:34 839testdata/Internals.lc 122:33-122:34
841 Type 840 Type
842testdata/Internals.lc 126:6-126:11 841testdata/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
844testdata/Internals.lc 126:6-128:45 843testdata/Internals.lc 126:6-128:45
845 Type | Type 844 Type | Type
846testdata/Internals.lc 126:15-126:21 845testdata/Internals.lc 126:15-126:21
@@ -854,13 +853,13 @@ testdata/Internals.lc 127:5-127:9
854testdata/Internals.lc 127:5-127:22 853testdata/Internals.lc 127:5-127:22
855 Type 854 Type
856testdata/Internals.lc 127:13-127:18 855testdata/Internals.lc 127:13-127:18
857 List Type -> Type 856 [Type] -> Type
858testdata/Internals.lc 127:13-127:22 857testdata/Internals.lc 127:13-127:22
859 Type 858 Type
860testdata/Internals.lc 127:19-127:22 859testdata/Internals.lc 127:19-127:22
861 forall a . List a | forall a . List a 860 forall a . [a] | forall a . [a]
862testdata/Internals.lc 128:5-128:10 861testdata/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)
864testdata/Internals.lc 128:5-128:45 863testdata/Internals.lc 128:5-128:45
865 Type | Type | Type | Type | Type 864 Type | Type | Type | Type | Type
866testdata/Internals.lc 128:14-128:15 865testdata/Internals.lc 128:14-128:15
@@ -868,7 +867,7 @@ testdata/Internals.lc 128:14-128:15
868testdata/Internals.lc 128:14-128:45 867testdata/Internals.lc 128:14-128:45
869 Type | Type 868 Type | Type
870testdata/Internals.lc 128:19-128:24 869testdata/Internals.lc 128:19-128:24
871 List Type -> Type 870 [Type] -> Type
872testdata/Internals.lc 128:19-128:27 871testdata/Internals.lc 128:19-128:27
873 Type 872 Type
874testdata/Internals.lc 128:19-128:45 873testdata/Internals.lc 128:19-128:45
@@ -876,19 +875,19 @@ testdata/Internals.lc 128:19-128:45
876testdata/Internals.lc 128:25-128:27 875testdata/Internals.lc 128:25-128:27
877 _c 876 _c
878testdata/Internals.lc 128:31-128:36 877testdata/Internals.lc 128:31-128:36
879 List Type -> Type 878 [Type] -> Type
880testdata/Internals.lc 128:31-128:45 879testdata/Internals.lc 128:31-128:45
881 Type | Type 880 Type | Type
882testdata/Internals.lc 128:39-128:40 881testdata/Internals.lc 128:39-128:40
883 Type | Type 882 Type | Type
884testdata/Internals.lc 128:39-128:41 883testdata/Internals.lc 128:39-128:41
885 List Type -> List Type | List Type -> List Type 884 [Type] -> [Type] | [Type] -> [Type]
886testdata/Internals.lc 128:39-128:44 885testdata/Internals.lc 128:39-128:44
887 List Type | List Type 886 [Type] | [Type]
888testdata/Internals.lc 128:40-128:41 887testdata/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]
890testdata/Internals.lc 128:42-128:44 889testdata/Internals.lc 128:42-128:44
891 List Type | List Type 890 [Type] | [Type]
892testdata/Internals.lc 130:1-130:13 891testdata/Internals.lc 130:1-130:13
893 forall a -> a -> () -> a 892 forall a -> a -> () -> a
894testdata/Internals.lc 130:29-130:30 893testdata/Internals.lc 130:29-130:30
@@ -896,18 +895,17 @@ testdata/Internals.lc 130:29-130:30
896testdata/Internals.lc 130:29-130:48 895testdata/Internals.lc 130:29-130:48
897 Type 896 Type
898testdata/Internals.lc 130:34-130:39 897testdata/Internals.lc 130:34-130:39
899 List Type -> Type 898 [Type] -> Type
900testdata/Internals.lc 130:34-130:43 899testdata/Internals.lc 130:34-130:43
901 Type 900 Type
902testdata/Internals.lc 130:34-130:48 901testdata/Internals.lc 130:34-130:48
903 Type 902 Type
904testdata/Internals.lc 130:40-130:43 903testdata/Internals.lc 130:40-130:43
905 forall a . List a 904 forall a . [a]
906testdata/Internals.lc 130:47-130:48 905testdata/Internals.lc 130:47-130:48
907 Type | Type 906 Type | Type
908testdata/Internals.lc 131:1-131:14 907testdata/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
911testdata/Internals.lc 132:21-132:25 909testdata/Internals.lc 132:21-132:25
912 Type 910 Type
913testdata/Internals.lc 132:33-132:37 911testdata/Internals.lc 132:33-132:37
@@ -925,17 +923,17 @@ testdata/Internals.lc 134:8-136:9
925testdata/Internals.lc 134:9-134:10 923testdata/Internals.lc 134:9-134:10
926 Type 924 Type
927testdata/Internals.lc 134:14-134:19 925testdata/Internals.lc 134:14-134:19
928 List Type -> Type 926 [Type] -> Type
929testdata/Internals.lc 134:14-134:21 927testdata/Internals.lc 134:14-134:21
930 Type 928 Type
931testdata/Internals.lc 134:14-134:26 929testdata/Internals.lc 134:14-134:26
932 Type 930 Type
933testdata/Internals.lc 134:20-134:21 931testdata/Internals.lc 134:20-134:21
934 List Type 932 [Type]
935testdata/Internals.lc 134:25-134:26 933testdata/Internals.lc 134:25-134:26
936 _d | Type 934 _d | Type
937testdata/Internals.lc 135:8-135:13 935testdata/Internals.lc 135:8-135:13
938 List Type -> Type 936 [Type] -> Type
939testdata/Internals.lc 135:8-135:20 937testdata/Internals.lc 135:8-135:20
940 Type 938 Type
941testdata/Internals.lc 135:8-136:9 939testdata/Internals.lc 135:8-136:9
@@ -943,12 +941,12 @@ testdata/Internals.lc 135:8-136:9
943testdata/Internals.lc 135:15-135:16 941testdata/Internals.lc 135:15-135:16
944 Type 942 Type
945testdata/Internals.lc 135:15-135:17 943testdata/Internals.lc 135:15-135:17
946 List Type -> List Type 944 [Type] -> [Type]
947testdata/Internals.lc 135:15-135:19 945testdata/Internals.lc 135:15-135:19
948 List Type 946 [Type]
949testdata/Internals.lc 135:16-135:17 947testdata/Internals.lc 135:16-135:17
950 forall a . a -> List a -> List a 948 forall a . a -> [a] -> [a]
951testdata/Internals.lc 135:18-135:19 949testdata/Internals.lc 135:18-135:19
952 List Type 950 [Type]
953testdata/Internals.lc 136:8-136:9 951testdata/Internals.lc 136:8-136:9
954 Type | Type \ No newline at end of file 952 Type | Type \ No newline at end of file