Closed heades closed 7 years ago
I can't repeat this same error with the white space. If I try your example, I get the same error but that's only because the Combinator.gry file is now called Fix.gry. Can you double check this on your end?
I still get it:
Grady> :l Examples/Naturals.gry
Examples/Naturals.gry does not exist.
Grady>
Either way, an easy fix is just to trim the whitespace off the end before reading the file.
See Data.Text
; there is strip
.
Will do
On Jan 10, 2017, at 17:54, Harley D. Eades III notifications@github.com wrote:
See Data.Text; there is strip.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.
Should trim the white space now. Can you double check on your machine?
Sure, I will check. Remember not to close issues until we both agree. :-)
Looks like it is fixed! Great work!
It is now merged into master.
Consider the following example:
The first load command has a space at the end of the line, and the second does not.
Now consider the following:
Notice the spaces before "does".
Whitespace needs to be trimmed off of the end of the file name.