Idris2/tests/idris2/reg/reg050/expected
2023-09-07 14:57:22 +01:00

12 lines
409 B
Plaintext

1/1: Building loopy (loopy.idr)
Error: While processing right hand side of eatBinary. While processing right hand side of eatBinary,firstDigit. Patterns for eatBinary,firstDigit,f require matching on different types.
loopy:24:5--24:18
20 | firstDigit : List Char -> i
21 | firstDigit [] = 0
22 | firstDigit (d :: ds) = let
23 | f : Maybe i -> i
24 | f Nothing = 0
^^^^^^^^^^^^^