2 created: "2019-08-28T14:41:01.270459Z"
4 source: codespan-reporting/tests/term.rs
5 expression: TEST_DATA.emit_no_color(&config)
7 error: unknown builtin: `NATRAL`
9 ┌── Data/Nat.fun:7:13 ───
11 7 │ {-# BUILTIN NATRAL Nat #-}
12 │ ^^^^^^ unknown builtin
14 = there is a builtin with a similar name: `NATURAL`
16 warning: unused parameter pattern: `n₂`
18 ┌── Data/Nat.fun:17:16 ───
20 17 │ zero - succ n₂ = zero
23 = consider using a wildcard pattern: `_`
25 error[E0001]: unexpected type in application of `_+_`
30 │ ^^^^^^^ expected `Nat`, found `String`
33 ┌── Data/Nat.fun:11:1 ───
35 11 │ _+_ : Nat → Nat → Nat
36 │ --------------------- based on the definition of `_+_`