You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
┌─ /home/torerling/exercism/gleam/ocr-numbers/src/ocr_numbers.gleam:24:3
│
24 │ ╭ lines
25 │ │ |> list.sized_chunk(4)
26 │ │ |> list.map(ocr_line)
│ ╰───────────────────────^
The type of this returned value doesn't match the return type
annotation of this function.
Expected type:
Output
Found type:
List(List(Output))
It makes it very easy to assume that List(List(Output)) is an output? But it's not since it's the gleam list
Maybe it would be better to have something like
For this task the naming of the last output variant type is confusing and will easily lead to type errors in the solution
But gleam isn't happy and says:
It makes it very easy to assume that List(List(Output)) is an output? But it's not since it's the gleam list
Maybe it would be better to have something like
or the like.
The text was updated successfully, but these errors were encountered: