Changeset 15019 in project


Ignore:
Timestamp:
06/18/09 14:28:01 (10 years ago)
Author:
svnwiki
Message:

Changes applied for C-Keen (153.96.215.151) through svnwiki:

removed lzma: prefix as it is not exported as such anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/lzma

    r15018 r15019  
    1616<example>
    1717<init>(use lzma)</init>
    18 <expr>(blob->string (lzma:decompress (lzma:compress (string->blob "Hello, World!"))))</expr>
     18<expr>(blob->string (decompress (compress (string->blob "Hello, World!"))))</expr>
    1919<result>"Hello, World!"</result>
    2020</example>
    2121<example>
    2222<init>(use lzma)</init>
    23 <expr>(blob-size (lzma:compress (string->blob "Hello, World!")))</expr>
     23<expr>(blob-size (compress (string->blob "Hello, World!")))</expr>
    2424<result>32</result>
    2525</example>
    2626<example>
    2727<init>(use lzma)</init>
    28 <expr>(blob-size (lzma:compress (string->blob "Hello, World! Hello, World! Hello, World!")))</expr>
     28<expr>(blob-size (compress (string->blob "Hello, World! Hello, World! Hello, World!")))</expr>
    2929<result>36</result>
    3030</example>
     
    3333== Library functions
    3434
    35 <procedure>(lzma:compress BLOB) => BLOB</procedure>
     35<procedure>(compress BLOB) => BLOB</procedure>
    3636
    3737Given a blob, returns a blob that's hopefully smaller, and contains
     
    3939failure (typically, an out-of-memory condition).
    4040
    41 <procedure>(lzma:decompress BLOB) => BLOB</procedure>
     41<procedure>(decompress BLOB) => BLOB</procedure>
    4242
    43 Given a blob returned by {{lzma:compress}}, returns the original
     43Given a blob returned by {{compress}}, returns the original
    4444blob. Returns #f in the event of failure (typically, an out-of-memory
    4545condition or an invalid input).
Note: See TracChangeset for help on using the changeset viewer.