Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
b92a2778
Commit
b92a2778
authored
Jun 08, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing file
parent
9ea52f11
Pipeline
#4170
passed with stages
in 92 minutes and 5 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
.clippy.dhall
.clippy.dhall
+54
-0
No files found.
.clippy.dhall
0 → 100644
View file @
b92a2778
let Rule : Type = { match : Text, print : Text }
let Config : Type = { rules : List Rule }
let rule = \(match: Text) -> \(replace: Text) ->
{ match = match, print = replace } : Rule
in {
rules =
[
rule "(>>[ICS]>)|(<[ICS]<<)|(>[ICS]>)|(<[ICS]<)" ""
, rule "Couldn't match type" "Couldn't match"
, rule " with" " with"
, rule "Expected type:" "Expected:"
, rule " Actual type:" " Got:"
, rule "Couldn't match expected type ‘(.*?)’" "Expected: $1"
, rule " with actual type ‘(.*?)’" " Got: $1"
, rule "Couldn't match expected type ‘(.*)’ with actual type ‘(.*)’"
''
Expected: $1
Got: $2
''
-- , rule "(?s)>>C>.*?<C<<" ""
, rule "(?s)In a stmt of a 'do' block:.*?<(C|S)<<" "<$1<<"
, rule "(?s)In the \\w+ argument of.*?<(C|S)<<" "<$1<<"
, rule "(?s)In the expression.*?<(C|S)<<" "<$1<<"
, rule "\\(bound at ([^)]*)\\)" " -- $1"
, rule
"Ambiguous type variable (‘\\w+’) arising from a use of (‘\\w+’)"
"Type variable $1 is ambiguous in $2."
, rule
"prevents the constraint (‘.+’) from being solved.*"
"Can't pick an instance for $1."
, rule
"(Probable|Possible) fix:"
''
---
Maybe-fix:''
, rule
"use a type annotation to specify what.*"
"add type annotations to disambiguate."
, rule
"No instance for (.*?) arising from (a|the)( use of)? (.*)"
"Need a $1 instance for usage of $4"
, rule
"(?s)the type signature for:\n "
"\n"
, rule
"(?s)These potential instances .*? -fprint-potential-instances to see them all\\)"
"More info: compile with -fprint-potential-instances."
, rule
"Relevant bindings include"
"Known types:\n"
] : List Rule
} : Config
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment