Skip to content

Instantly share code, notes, and snippets.

@abeaumont
Created March 22, 2013 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abeaumont/5222106 to your computer and use it in GitHub Desktop.
Save abeaumont/5222106 to your computer and use it in GitHub Desktop.
OpenDylan's <byte-vector> bug
module: byte-vector-test
define library byte-vector-test
use common-dylan;
use io;
end library;
define module byte-vector-test
use common-dylan, exclude: { format-to-string };
use byte-vector;
use format-out;
end module;
define function main (name :: <string>, arguments :: <vector>)
let v = make(<byte-vector>, size: 1, fill: 1);
format-out("%=\n", v[0]);
exit-application(0);
end function main;
main(application-name(), application-arguments());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment