Somebody asked about this error. Perhaps it could be improved by detecting the following:
Type mismatch.
Mismatching type is a tuple where the first argument would match.
Suggest user may have used function(arg1,arg2) syntax instead of function arg1 arg2
334| Dict.insert(id, updatedCharacter, state.characters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Function `insert` is expecting the argument to be:
( String
, { char : Instance.Char
, currentLocation : Hash
, usedDicePool : Character.UsedDicePool
}
, Dict String Character.State
)
But it is:
( String
, { char : Instance.Char
, currentLocation : Hash
, usedDicePool : Character.UsedDicePool
}
, Dict String Character.State
)
Hint: Only ints, floats, chars, strings, lists, and tuples are comparable.
Somebody asked about this error. Perhaps it could be improved by detecting the following: Type mismatch. Mismatching type is a tuple where the first argument would match. Suggest user may have used function(arg1,arg2) syntax instead of function arg1 arg2