Mercurial > repos > rhope
view testfilewrite.rhope @ 120:cd25171e1bb2
Use List for Subsets instead of a Dictionary for performance reasons. Fix issue with List literals. Compiled compiler is now self-hosting.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 21 Oct 2010 23:55:15 -0400 |
parents | 2e2e55fc12f9 |
children |
line wrap: on
line source
Main[] { Truncate[File["testwrite.txt"]] { Close[[~]Write[ [Flatten["The quick brown fox jumped over the lazy dog.\n"]]Buffer >> ]] } { Print["Error truncating file"] } }