... | ... | @@ -26,27 +26,27 @@ |
|
|
| undefinedConstructorInExpr | Type constructor $name cannot be used in an expression | Einfach | Prüfen, ob Typkonstruktor in Ausdruck vorhanden ist |
|
|
|
| undefinedConstructorInPat | Use identifiers starting with a lower case letter to define a function or a variable. Type constructor $name cannot be used in a pattern | Einfach | PatBind mit großgeschriebenem Identifier suchen |
|
|
|
|
|
|
## Typfehlermeldungen
|
|
|
| Name | Text | Beispiel | Erkennbar an |
|
|
|
| ------------------- | ------------------------------|----------------------------------------------| ------------------------------ |
|
|
|
| makeNotGeneralEnoughTypeError | Type annotation/signature is too general. declared type $dt, inferred type $it. Hint: Try removing the type signature. | - | ? |
|
|
|
| makeMissingConstraintTypeError| Missing class constraint in type annotation/signature. Class constraint $con arising from $source. Hint: add the class constraint to the type signature | - | ? |
|
|
|
| makeUnresolvedOverloadingError | Don't know which instance to choose for $description. Function $f type $t used as $usedt. Hint: write an explicit type for this function e.g. (show :: [Int] -> String) | - | ? |
|
|
|
| makeReductionError | Type error in overloaded function $f type $t used as $usedt. Problem: $predicate is not instance of class $name | - | ? |
|
|
|
| makeRestrictedButOverloadedError | Illegal overloaded type inferred for $name. Variable $v, inferred type $t. Only functions and simple patterns can have an overloaded type | - | ? |
|
|
|
|
|
|
## Warnungen
|
|
|
| Name | Text | Beispiel | Erkennbar an |
|
|
|
| Name | Text | Einschätzung der Schwierigkeit | Mögliche Umsetzung |
|
|
|
| ------------------- | ------------------------------|----------------------------------------------| ------------------------------ |
|
|
|
| NoTypeDef | Missing type signature: $name :: $signature | - | ? |
|
|
|
| Shadow | Variable $shadower shadows the one $positionOfShadowee | - | ? |
|
|
|
| Unused | $entity $name is not used | - | ? |
|
|
|
| SimilarFunctionBindings | Suspicious adjacent functions $f1 and $f2 | - | ? |
|
|
|
| NoTypeDef | Missing type signature: $name :: $signature | Einfach | PatBind ohne TypeSig suchen |
|
|
|
| Shadow | Variable $shadower shadows the one at $positionOfShadowee | Einfach | Prüfen, ob identifier mehrfach in einer Regel vorkommt |
|
|
|
| Unused | $entity $name is not used | Einfach | Definitionen markieren, falls benutzt => unmarktierte Definitionen melden |
|
|
|
| SimilarFunctionBindings | Suspicious adjacent functions $f1 and $f2 | Mittel | Regeln auf Ähnlichkeit der Namen prüfen |
|
|
|
| SuspiciousTypeVariable | Suspicious type variable $name. Did you mean the type constructor $conName? | - | ? |
|
|
|
| ReduceContext | The context $name has superfluous predicates. You may change it into $reduced | - | ? |
|
|
|
| MissingPatterns | Missing pattern in $place: $patList | - | ? |
|
|
|
| MissingPatterns | Missing pattern in $place: $patList | Schwierig | Prüfen, ob alle Konstruktoren eines Datentyps in Regeln vorkommen |
|
|
|
| UnreachablePatternLHS | Unreachable pattern: $pat | - | ? |
|
|
|
| UnreachablePatternCase | Unreachable pattern: $pat | - | ? |
|
|
|
| UnreachableGuard | Unreachable guard: $guard | - | ? |
|
|
|
| FallThrough | It is good practise to have 'otherwise' as the last guard | - | ? |
|
|
|
| FallThrough | It is good practise to have 'otherwise' as the last guard | - | Abhängig davon, ob alle Möglichkeiten abgedeckt sind |
|
|
|
| SignatureTooSpecific | Declared type signature for $name could be more general: declared type $dt, inferred type $it | - | ? |
|
|
|
|
|
|
## Typfehlermeldungen
|
|
|
| Name | Text | Einschätzung der Schwierigkeit | Mögliche Umsetzung |
|
|
|
| ------------------- | ------------------------------|----------------------------------------------| ------------------------------ |
|
|
|
| makeNotGeneralEnoughTypeError | Type annotation/signature is too general. declared type $dt, inferred type $it. Hint: Try removing the type signature. | - | ? |
|
|
|
| makeMissingConstraintTypeError| Missing class constraint in type annotation/signature. Class constraint $con arising from $source. Hint: add the class constraint to the type signature | - | ? |
|
|
|
| makeUnresolvedOverloadingError | Don't know which instance to choose for $description. Function $f type $t used as $usedt. Hint: write an explicit type for this function e.g. (show :: [Int] -> String) | - | ? |
|
|
|
| makeReductionError | Type error in overloaded function $f type $t used as $usedt. Problem: $predicate is not instance of class $name | - | ? |
|
|
|
| makeRestrictedButOverloadedError | Illegal overloaded type inferred for $name. Variable $v, inferred type $t. Only functions and simple patterns can have an overloaded type | - | ? | |
|
|
\ No newline at end of file |