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
|
==================== Tidy Core ====================
Result size of Tidy Core = {terms: 26, types: 11, coercions: 0}
Rec {
-- RHS size: {terms: 10, types: 2, coercions: 0}
$wxs :: Int# -> ()
[GblId, Arity=1, Caf=NoCafRefs, Str=DmdType <S,1*U>]
$wxs =
\ (ww :: Int#) ->
case ww of ds1 {
__DEFAULT -> $wxs (-# ds1 1#);
1# -> ()
}
end Rec }
-- RHS size: {terms: 14, types: 5, coercions: 0}
foo [InlPrag=NOINLINE] :: Int -> ()
[GblId, Arity=1, Caf=NoCafRefs, Str=DmdType <S,1*U(U)>]
foo =
\ (n :: Int) ->
case n of _ [Occ=Dead] { I# y ->
case tagToEnum# @ Bool (<# 0# y) of _ [Occ=Dead] {
False -> ();
True -> $wxs y
}
}
|