fork download
  1. normalize([], _, []).
  2. normalize([H | T], P, [R | R1]) :- R is H/P, normalize(T, P, R1).
Success #stdin #stdout #stderr 0.03s 7080KB
stdin
normalize([], 12, R).
stdout
Standard output is empty
stderr
ERROR: '$runtoplevel'/0: Undefined procedure: program/0
   Exception: (3) program ? EOF: exit