From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 526507EE99 for ; Sun, 5 Jan 2014 09:23:33 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of martindemello@gmail.com) identity=pra; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of martindemello@gmail.com designates 209.85.215.48 as permitted sender) identity=mailfrom; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="martindemello@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-la0-f48.google.com) identity=helo; client-ip=209.85.215.48; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="martindemello@gmail.com"; x-sender="postmaster@mail-la0-f48.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlcBAPcVyVLRVdcwm2dsb2JhbABYhBiCP7dxCBYOAQEBAQEGCwsJFCiCbAEbHgMSEF0BEQEFASKIAgEDEZsFgwiMXIMJkFYKGScNZINcEQEFDJNBBIlDjlSKS4VdGCmEehs X-IPAS-Result: AlcBAPcVyVLRVdcwm2dsb2JhbABYhBiCP7dxCBYOAQEBAQEGCwsJFCiCbAEbHgMSEF0BEQEFASKIAgEDEZsFgwiMXIMJkFYKGScNZINcEQEFDJNBBIlDjlSKS4VdGCmEehs X-IronPort-AV: E=Sophos;i="4.95,606,1384297200"; d="scan'208";a="51751668" Received: from mail-la0-f48.google.com ([209.85.215.48]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 05 Jan 2014 09:23:32 +0100 Received: by mail-la0-f48.google.com with SMTP id n7so8947678lam.7 for ; Sun, 05 Jan 2014 00:23:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=CKFwJsmqtMikel1kLldOxu2FRWqsIuFmIB7Xr5QP3Bc=; b=TKCPEusP7Pv6z4JiEHrY5LkV1kiH2+Si1zroM6CVezYMbG4WkyQcwhg3VuHJmUKdNg bWEJa2kxG1PdvcMBnFxuixHZnyZX/3+HVdnLkhIAwuMF1ivco4GI5dS7WIKKrZnXLn4+ gTeYaHPX4HX1Pd9K1vp56HJT0X1HvJn6k+m0Bs/9/Ntq8idtUM2RnOyQySJhtc49txTO qFgzuTiPX82bDz+lgFEa+O01e8PlWbHNo+xWAqHVebsUcUM8vodctMpMWzLT2rwLKha+ WYNZgcJjF4CiB2FqPsqNC46zC0B1plwe4J4OWH3AWATWp49gpFGBWntuz76tDpPaN9gs DP4Q== MIME-Version: 1.0 X-Received: by 10.112.63.40 with SMTP id d8mr307904lbs.35.1388910211985; Sun, 05 Jan 2014 00:23:31 -0800 (PST) Received: by 10.114.60.80 with HTTP; Sun, 5 Jan 2014 00:23:31 -0800 (PST) Date: Sun, 5 Jan 2014 00:23:31 -0800 Message-ID: From: Martin DeMello To: OCaml List Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] wrapping a string in an in_channel Does OCaml have any equivalent to ruby's StringIO, to wrap an in_channel around a string and then treat it as if it were a file? martin