caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques-Henri Jourdan <jacques-henri.jourdan@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Simple compression library
Date: Mon, 02 Feb 2015 16:43:28 +0100	[thread overview]
Message-ID: <54CF9B20.5040300@inria.fr> (raw)
In-Reply-To: <CAJn4uc5qkyETGbt=K3Y+p1W7_XM06Dm4Yu4BoO9gSEy=LHtSSw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

Le 02/02/2015 16:39, Dhek Uir a écrit :
> I'm looking for a compression library such as camlzip to read/write
> compressed files (any lossless compression algorithm is fine), but
> having a function similar to Pervasives.output_value, which does not
> seem to be available in camlzip (and I do not see how I could easily
> implement it).
>
> Would it be simple to modify camlzip to add this function? I believe
> that if this were the case, then it would already have been done, but
> I might be wrong.
>
> Otherwise, is there another OCaml library with an API very similar to
> Pervasives'? I'd prefer a lightweight solution (avoiding Core and
> Batteries) if possible.

Can't you do Marshal.to_string, and then use Camlzip on the generated
string ?

-- 
JH Jourdan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2015-02-02 15:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 15:39 Dhek Uir
2015-02-02 15:43 ` Jacques-Henri Jourdan [this message]
2015-02-02 16:05   ` Dhek Uir
2015-02-02 16:48     ` Drup
2015-02-02 17:00       ` Dhek Uir
2015-02-02 17:38         ` David Allsopp
2015-02-02 17:53           ` Dhek Uir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CF9B20.5040300@inria.fr \
    --to=jacques-henri.jourdan@inria.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).