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
# Unformatted Error Output:
# File "bin/MyApp.re", line 460, characters 33-40:
# Error: This expression has type
# unit effect ->
# (unit -> (int * string list) converter -> unit) -> unit
# but an expression was expected of type
# (unit, int * string) performer =
# unit effect -> (unit -> (int * string) converter -> unit) -> unit
# Type
# (int * string list) converter =
# int * string list -> int * string list
# is not compatible with type
# (int * string) converter = int * string -> int * string
# Type string list is not compatible with type string
Output:
ERROR bin/MyApp.re:460 33-40
457 ┆
458 ┆ let runPrintAndLog = ((), perform, return) => {
459 ┆ collectLogs(printAndLog(), perform, (_, x) => return(identity, 0));
460 ┆ collectPrints(printAndLog(), perform, (_, x) => return(identity, 1));
461 ┆ };
462 ┆ };
463 ┆
This type doesn't match what is expected.
This type: ML: unit effect ->
Expecting:
The contradicting parts:
The type:
Contradicts:
The type: list(string)
Contradicts: string
The text was updated successfully, but these errors were encountered:
Output:
The text was updated successfully, but these errors were encountered: