summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/RewriteHigherOrderPatterns.stderr
blob: 3a4b54dd9f93c82828689b6137f9246d4161b185 (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
Rule fired
    Rule: bar
    Module: (RewriteHigherOrderPatterns)
    Before: bar ValArg \ x y z -> two (two x y) z
    After:  (\ f -> True) (\ x y -> two (two x y))
    Cont:   Stop[RhsCtxt(NonRecursive)] Bool
Rule fired
    Rule: bar
    Module: (RewriteHigherOrderPatterns)
    Before: bar ValArg \ x _ z -> two (two x (I# 2#)) z
    After:  (\ f -> True) (\ x _ -> two (two x (I# 2#)))
    Cont:   Stop[RhsCtxt(NonRecursive)] Bool
Rule fired
    Rule: foo
    Module: (RewriteHigherOrderPatterns)
    Before: foo ValArg \ x -> two (two x (I# 2#)) x
    After:  (\ f -> True) (\ x -> two (two x (I# 2#)) x)
    Cont:   Stop[RhsCtxt(NonRecursive)] Bool
Rule fired
    Rule: qux
    Module: (RewriteHigherOrderPatterns)
    Before: qux ValArg \ x y -> three (two x (I# 1#)) (I# 2#) y
    After:  (\ f -> True) (\ x -> three (two x (I# 1#)))
    Cont:   Stop[RhsCtxt(NonRecursive)] Bool
Rule fired
    Rule: baz
    Module: (RewriteHigherOrderPatterns)
    Before: baz ValArg \ x -> three (two x (I# 1#)) (I# 2#) x
    After:  (\ f -> True) (\ x -> three (two x (I# 1#)) (I# 2#))
    Cont:   Stop[RhsCtxt(NonRecursive)] Bool