1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
%%---10--|----20---|----30---|----40---|----50---| -module(comments2). foo(A) when A == ?FOO orelse %% comment1 A == ?BAR -> hello; foo(B) -> case B of 1 -> ok %% comment2 end, [a, b %% c ], world.