-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate "the" (coming from the_ofThe
, etc.?)
#3234
Comments
Nicely spotted! |
The problem occurs while using the combination of For example,
If we change the |
This code seems to be quite cursed: it really visibly adds |
At the risk of glossing over a more serious issue, I'm completely fine with the last idea from @cd155. That is, using |
I agree with @smiths here; making our descriptions more consistent is a good idea, especially if it also works to remove errors elsewhere. It will be interesting to see the implications of this change! @JacquesCarette How do you propose handling the duplication? Define a local |
Yes, at this point, something as simple as |
@samm82 I am not sure why we use
instead of just
|
Just by looking at the code, me neither. I can't verify that the types all match up with 100% certainty, but if everything works using the second approach, I agree that it is much nicer |
Practically, you can change |
From my investigation in #3199, I noticed some
UnitalChunk
s with sentences built usingthe_ofThe
, etc. but also having "the" prepended (these specific examples from DblPendulum):Drasil/code/drasil-example/dblpendulum/lib/Drasil/DblPendulum/Unitals.hs
Lines 90 to 92 in 1831438
Drasil/code/drasil-example/dblpendulum/lib/Drasil/DblPendulum/Unitals.hs
Lines 98 to 100 in 1831438
Drasil/code/drasil-example/dblpendulum/lib/Drasil/DblPendulum/Unitals.hs
Lines 58 to 60 in 1831438
Drasil/code/drasil-example/dblpendulum/lib/Drasil/DblPendulum/Unitals.hs
Lines 146 to 148 in 1831438
I believe this results in "the" being duplicated:
The text was updated successfully, but these errors were encountered: