lspitzner / lspitzner/brittany
support for consistent braces-plus-semicolon-style
Open
Nobody has claimed this yet.
enhancement
priority: low
- Dominant language
- Haskell
- Stars
- 686
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
e.g. see this nice example (shortened):
module Data.Graph.Inductive.Graphviz
(Orient(..), graphviz, graphviz') where
{ import Data.Graph.Inductive.Graph;
data Orient = Portrait
| Landscape
deriving (Eq, Show);
graphviz ::
(Graph g, Show a, Show b) =>
g a b ->
String -> (Double, Double) -> (Int, Int) -> Orient -> String;
graphviz g t (w, h) p@(pw', ph') o
= let { n = labNodes g;
e = labEdges g}
in
"digraph " ++ t ++ " {\n" ++ "\tmargin = \"0\"\n" ++ "\tpage = \""}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked example at plugins/de.ovgu.featureide.examples/featureide_examples/FGL-FH-Haskell/features/GraphViz/Data/Graph/Inductive/Graphviz.hs and inspect the formatter's existing handling of braces and semicolons. Done means the shown Haskell style is accepted and formatted consistently without breaking the surrounding syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100