-
Notifications
You must be signed in to change notification settings - Fork 160
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
Changed 'writefile' to 'save-file' #133
Conversation
@@ -2898,7 +2899,7 @@ Useful in higher-order functions, or to index into lists, strings, tables, etc." | |||
(= (savers* ',var) (fn (,gv) (,save ,gv ,file))))))) | |||
|
|||
(mac diskvar (var file) | |||
`(fromdisk ,var ,file nil readfile1 writefile)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, now I'm wondering if we should also rename readfile1
to load-file
and so on.
But that piles on the incompatibilities. Others may object. What do you think, @hjek?
Ported from https://docs.racket-lang.org/reference/regexp.html Thanks Kinnard Hockenhull for the questions and feedback about regular expressions in Arc.
``` warning: connecting to bitbucket.org using legacy security technology (TLS 1.0) ``` https://www.mercurial-scm.org/wiki/SecureConnections
It had been broken since commit 95ff093 in Nov 2017, when I moved it from a library into arc.arc. Unfortunately I moved it to the wrong place, before assignment was defined. Not only did it break `nappend`, it also yielded cryptic error messages when attempting to use `nappend`. `nappend` was originally introduced because I wanted it for spliceable lists. Unfortunately I never wrote tests for it running on regular lists, hiding the bug for over a year. Now starting to add tests. Thanks Kinnard Hockenhull for reporting this issue.
This tendency to misuse `ret` is one area where I've been bitten a few times by Lisp's syntactic regularity.
… enabled, for better reporting of read-time syntax errors. Thanks to kinnard for porting this out at <http://arclanguage.org/item?id=20943>. Enable similar line-counting for ac.rkt's `acompile` and `test` functions.
…test.arc" instead of the correct name "tests.arc".
simplification to pd.arc
Add unicode conversions to COERCE
Let names end with syntax chars
Breaks Line 64 in 9e53a1f
|
Good catch! I also see a call to Worse, none of our tests catch this. That's something to think about. I'd like to test reading/writing templates. Could you fix both these callsites and let me know? Let's get this merged. We can always tweak or roll back things later. No need to add any tests in this PR. |
All in one new PR? I think I can pull that off. |
You can just add to this PR. Just do a new commit and |
Oh, before you do, run this:
|
I did something wrong . . . |
Very strange. It looks ok on the commandline, but GitHub's UI seems to be confused. |
Let's try merging it and see what happens. |
It might be because my remote is not my fork:
¿ |
Changed
writefile
tosave-file
to be consistent withsave-table
/write-table
.