packages feed

purescript-0.15.15: tests/purs/failing/ProgrammableTypeErrors.out

Error found:
in module [33mMain[0m
at tests/purs/failing/ProgrammableTypeErrors.purs:17:13 - 17:27 (line 17, column 13 - line 17, column 27)

  Custom error:

    Cannot show functions


while solving type class constraint
[33m                          [0m
[33m  Main.MyShow (Int -> Int)[0m
[33m                          [0m
while applying a function [33mmyShow[0m
  of type [33mMyShow t0 => t0 -> String[0m
  to argument [33m\$1 ->      [0m
              [33m  (add $1) 1[0m
while checking that expression [33mmyShow (\$1 ->      [0m
                               [33m          (add $1) 1[0m
                               [33m       )            [0m
  has type [33mString[0m
in value declaration [33mmain[0m

where [33mt0[0m is an unknown type

See https://github.com/purescript/documentation/blob/master/errors/NoInstanceFound.md for more information,
or to contribute content related to this error.