preview window lines of code
1 -module(test). 2 3 -compile(export_all). 4 -compile({parse_transform, eqc_cover}). 5 6 a(N) ->
1 call
7 [
1 call
io:format("X: ~p\n", [X])
7 calls
||
1 call
X <-
7 calls
lists:seq(1, N) ]
1 call
. 8 9 b(X, Y) ->
1 call
10 if
1 call
X > 3 andalso Y < 7 -> X + Y; 11 X < 17 orelse Y > 9 -> Y - X
1 call
; 12 X > Y -> X * Y; 13 true -> 42 14 end. 15