-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
broken; added LabelledContent as a SecCons; started to implement datC…
…on as LabelledContent instead of Contents
- Loading branch information
Showing
5 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ solChSpecF progName (probDes, likeChg, unlikeChg) ddEndSent (mid, hasUncertainty | |
generDefn = genDefnF g | ||
dataDefin = dataDefnF ddEndSent dd | ||
instModels = inModelF probDes dataDefin theModels generDefn i | ||
dataConstr = datConF mid hasUncertainty trail dc | ||
dataConstr = datConF mid hasUncertainty trail (llcc "dataConstraintsSection" (mkLabelRA'' "dataConstraintsSection") dc) | ||
|
||
|
||
solutionCharSpecIntro :: (Idea a) => a -> Section -> Contents | ||
|
@@ -194,9 +194,10 @@ inModelIntro r1 r2 r3 r4 = foldlSP [S "This", phrase section_, | |
where end = S " and" +:+ (makeRef r4) | ||
|
||
-- wrapper for datConPar | ||
datConF :: Sentence -> Sentence -> Sentence -> [Contents] -> Section | ||
datConF :: Sentence -> Sentence -> Sentence -> [LabelledContent] -> Section | ||
datConF hasUncertainty mid trailing tables = SRS.datCon | ||
((dataConstraintParagraph hasUncertainty (listofTablesToRefs tables) mid trailing):tables) [] | ||
((llcc "dataConsIntro" (mkLabelRA'' "dataConsSection") $ | ||
This comment was marked as resolved.
Sorry, something went wrong.
This comment was marked as resolved.
Sorry, something went wrong.
niazim3
Author
Collaborator
|
||
dataConstraintParagraph hasUncertainty (listofTablesToRefs tables) mid trailing):tables) [] | ||
|
||
-- reference to the input/ ouput tables -> optional middle sentence(s) (use EmptyS if not wanted) -> | ||
-- True if standard ending sentence wanted -> optional trailing sentence(s) -> Contents | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Do we want a label just for the introduction of a section when there is a label for the entire section (when line 115 will work)? @szymczdm