summaryrefslogtreecommitdiff
path: root/testdata/language-features/basic-values/typesyn02.out
blob: efca73f51caf2603163164e27e5cd988c8a92f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
main is not found
------------ desugared source code
'MyUnit = _lhs 'MyUnit (_rhs ' ())

fun :: forall (a :: _) . a -> MyUnit -> MyUnit
fun = _lhs fun \(_ :: _) (a :: _) -> hlistNilCase _ (_rhs ()) a
------------ core code
'MyUnit :: Type
'MyUnit = _rhs ' ()

fun :: forall a . a -> MyUnit -> ()
fun = \_ _ a -> hlistNilCase ' () (_rhs ()) a
------------ tooltips
testdata/language-features/basic-values/typesyn02.lc 1:6-1:12
    Type
testdata/language-features/basic-values/typesyn02.lc 1:15-1:17
    Type
testdata/language-features/basic-values/typesyn02.lc 3:8-3:9
    _b
testdata/language-features/basic-values/typesyn02.lc 3:8-3:29
    Type
testdata/language-features/basic-values/typesyn02.lc 3:13-3:19
    Type
testdata/language-features/basic-values/typesyn02.lc 3:13-3:29
    Type
testdata/language-features/basic-values/typesyn02.lc 3:23-3:29
    Type | Type
testdata/language-features/basic-values/typesyn02.lc 4:1-4:4
    forall a . a -> MyUnit -> ()
testdata/language-features/basic-values/typesyn02.lc 4:12-4:14
    () | ()