summaryrefslogtreecommitdiff
path: root/testdata/ambig.out
blob: 82be9b6f565ccb7a0f68e53bb18532f1a75be337 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
main is not found
------------ desugared source code
h
  = _lhs
    h
    \(a :: _) (b :: _) (_ :: _) -> _rhs
      let
        c
          = (\(d :: _) -> hlistConsCase
              _
              (\(e :: _) (f :: _) -> hlistConsCase
                _
                (\(g :: _) (h :: _) -> hlistNilCase _ (a e g) h)
                f)
              d)
            b
        in c
------------ core code
h :: forall a b c d . (b -> d -> c) -> (b, d) -> a -> c
h
  = \a b c d e f _ -> _rhs
    (hlistConsCase
      b
      [d]
      c
      (\g h -> hlistConsCase d [] c (\i j -> hlistNilCase c (e g i) j) h)
      f)
------------ tooltips
ambig.lc 4:1-4:2
    forall a b c d . (b -> d -> c) -> (b, d) -> a -> c
ambig.lc 4:11-4:12
    _c
ambig.lc 7:9-7:29
    _b
ambig.lc 7:21-7:22
    _s
ambig.lc 7:21-7:26
    _c | _d
ambig.lc 7:23-7:24
    _n
ambig.lc 7:25-7:26
    _j
ambig.lc 7:28-7:29
    _g