/* Test simple when expression */ factorial : n -> when n is 0 then 1 _ then n * (factorial (n - 1)); ..out "when expression created successfully";