Source

scheme-bert / README.markdown

Diff from to

File README.markdown

 scheme-bert
 ===========
 
-scheme-bert is a BERT (Binary ERlang Term) serialization library for Scheme implementations compliant to [R^6RS](http://www.r6rs.org/). BERT is based on Erlang's [External Term Format](http://www.erlang.org/doc/apps/erts/erl_ext_dist.html).
+scheme-bert is a BERT (Binary ERlang Term) serialization library for Scheme implementations compliant to [R^6RS](http://www.r6rs.org/implementations.html). BERT is based on Erlang's [External Term Format](http://www.erlang.org/doc/apps/erts/erl_ext_dist.html).
 
 See the BERT specification at [bert-rpc.org](http://bert-rpc.org).
 
 
 Usage
 -----
-
-Issue `(import (scheme-bert))` in your REPL or put this in head of your source file.
-You will also probably want to import some other libraries such as `bytevectors`.
 
-    > (bert-encode (vector 'foo 42 666 (vector 12 '() (vector 255 'bar) 111222333444555666)))
-    #"\203h\4d\0\3fooa*b\0\0\2\232h\4a\fjh\2a\377d\0\3barn\b\0\222\203\r|\37$\213\1"
+Issue `(import (scheme-bert))` in your REPL or put this in head of your source file.
+You will also probably want to import some other libraries such as `bytevectors`.
 
-    > (bert-decode #"\203m\0\0\0001Most people would rather die than think; many do.")
-    "Most people would rather die than think; many do."    
+    > (define (bytes)
+        (bert-encode (list 'foo 13 42 (vector 666 '() 'bar))))
+    > (bytes)
+    #"\203l\0\0\0\4d\0\3fooa\ra*h\3b\0\0\2\232jd\0\3barj"
+    > (bert-decode (bytes))
+    {foo 13 42 #(666 () bar)}
+    >
 
 Caveats
 -------
 
 Trivia
 ------
-Please, [drop me an email](yarsanukaev AT gmail DOT com) if you used or intend to use the library in your project ;-)
+Please, drop me an email if you used or intend to use the library in your project ;-)
 
 Copyright
 ---------
 
-Copyright (c) 2010 Yasir M. Arsanukaev. See LICENSE for details.
+Copyright (c) 2010 Yasir M. Arsanukaev. See LICENSE for details.
+