1/1: Building ParseIf (ParseIf.idr) Error: Expected 'then'. ParseIf:3:26--3:30 1 | 2 | test : Int -> Int 3 | test a = if a < 10 the 0 else a ^^^^ 1/1: Building ParseIf2 (ParseIf2.idr) Error: Expected 'then'. ParseIf2:4:33--4:37 1 | 2 | test : Int -> Int 3 | test a = if a < 10 4 | then if a < 0 the 0 else 5 ^^^^ 1/1: Building ParseIf3 (ParseIf3.idr) Error: Expected 'then'. ParseIf3:3:26--3:30 1 | 2 | test : Int -> Int 3 | test a = (if a < 0 the 0 else 5) ^^^^