File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,11 @@ data ParseType = Decl | Stmt
6060options :: Consumer [Text ] (Option () ) (Action ,ParseType ,[Extension ])
6161options = (,,) <$> action <*> typ <*> exts
6262 where action =
63- sumConstant Parse " parse" " Parse and spit out spans" <|>
64- sumConstant Check " check" " Just check the syntax"
63+ constant " parse" " Parse and spit out spans" Parse <|>
64+ constant " check" " Just check the syntax" Check
6565 typ =
66- sumConstant Decl " decl" " Parse a declaration" <|>
67- sumConstant Stmt " stmt" " Parse a statement"
68- sumConstant sum' text desc =
69- fmap (const sum')
70- (constant text desc)
66+ constant " decl" " Parse a declaration" Decl <|>
67+ constant " stmt" " Parse a statement" Stmt
7168 exts =
7269 fmap getExtensions
7370 (many (prefix " X" " Language extension" ))
Original file line number Diff line number Diff line change 11name : structured-haskell-mode
2- version : 1.0.9
2+ version : 1.0.10
33synopsis : Structured editing Emacs mode for Haskell
44description : Structured editing Emacs mode for Haskell.
55homepage : https://github.com/chrisdone/structured-haskell-mode
@@ -44,4 +44,4 @@ executable structured-haskell-mode
4444 build-depends : base >= 4 && < 5
4545 , haskell-src-exts == 1.15. *
4646 , text
47- , descriptive == 0.2 . *
47+ , descriptive == 0.3 . *
You can’t perform that action at this time.
0 commit comments