Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
teiwa
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alice Brenon
teiwa
Commits
9d5ffde5
Commit
9d5ffde5
authored
3 years ago
by
Alice Brenon
Browse files
Options
Downloads
Patches
Plain Diff
Remove useless and commented-out code
parent
619e9c17
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/Main.hs
+0
-1
0 additions, 1 deletion
app/Main.hs
lib/Text/TEIWA/Source/Common.hs
+0
-1
0 additions, 1 deletion
lib/Text/TEIWA/Source/Common.hs
with
0 additions
and
2 deletions
app/Main.hs
+
0
−
1
View file @
9d5ffde5
...
@@ -24,4 +24,3 @@ main = do
...
@@ -24,4 +24,3 @@ main = do
command
<-
getCommand
command
<-
getCommand
input
<-
Text
.
getContents
input
<-
Text
.
getContents
runExceptT
(
annotator
command
input
)
>>=
either
(
die
.
show
)
Text
.
putStr
runExceptT
(
annotator
command
input
)
>>=
either
(
die
.
show
)
Text
.
putStr
where
This diff is collapsed.
Click to expand it.
lib/Text/TEIWA/Source/Common.hs
+
0
−
1
View file @
9d5ffde5
...
@@ -47,7 +47,6 @@ recordLine p = (,) <$> currentLine <*> p
...
@@ -47,7 +47,6 @@ recordLine p = (,) <$> currentLine <*> p
annotationContext
::
Header
->
TEIWAParser
AnnotationContext
annotationContext
::
Header
->
TEIWAParser
AnnotationContext
annotationContext
defaultFields
=
do
annotationContext
defaultFields
=
do
Config
{
formColumn
,
headerOverride
}
<-
ask
Config
{
formColumn
,
headerOverride
}
<-
ask
--headerFields <- maybe defaultFields pure headerOverride
let
headerFields
=
maybe
defaultFields
id
headerOverride
let
headerFields
=
maybe
defaultFields
id
headerOverride
column
<-
catchNothing
((
Right
<$>
formColumn
)
<|>
findForm
headerFields
)
column
<-
catchNothing
((
Right
<$>
formColumn
)
<|>
findForm
headerFields
)
buildContext
column
headerFields
buildContext
column
headerFields
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment