From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 6A3CE7F02D for ; Sun, 19 Oct 2014 14:34:12 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of mmatalka@gmail.com) identity=pra; client-ip=74.125.82.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of mmatalka@gmail.com designates 74.125.82.44 as permitted sender) identity=mailfrom; client-ip=74.125.82.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wg0-f44.google.com) identity=helo; client-ip=74.125.82.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="postmaster@mail-wg0-f44.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwBAA6vQ1RKfVIslGdsb2JhbABbgmmBTtNlAoEOFgERAQEBAQcLCwkSMIQDAQEDARIuARsdAQMBCwYFCwMTJQ8BBA8RAQUBIhMiiAgBAwkIAQSeG26NIoMQiBAKGScNZ4VKAQEBAQEFAQEBAQEXAQUOkEMHhEsFnVmULUGFK2yCSwEBAQ X-IPAS-Result: AjwBAA6vQ1RKfVIslGdsb2JhbABbgmmBTtNlAoEOFgERAQEBAQcLCwkSMIQDAQEDARIuARsdAQMBCwYFCwMTJQ8BBA8RAQUBIhMiiAgBAwkIAQSeG26NIoMQiBAKGScNZ4VKAQEBAQEFAQEBAQEXAQUOkEMHhEsFnVmULUGFK2yCSwEBAQ X-IronPort-AV: E=Sophos;i="5.04,749,1406584800"; d="scan'208";a="83818008" Received: from mail-wg0-f44.google.com ([74.125.82.44]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 19 Oct 2014 14:34:11 +0200 Received: by mail-wg0-f44.google.com with SMTP id y10so3648881wgg.27 for ; Sun, 19 Oct 2014 05:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=iGYUV2L1ARIhjmQE7KayYmzLPs/WB99Deo5TjISBk0g=; b=x9xXvAN64KzcN/tkwEmJ4HbeILrwgR8O61B/f/6rlKdq1En19TuEREoEzhprtwl8an mYup5Glt1jhUNxdTMNQ0sJoOMcPCCid9ymF1PNIUVFTU3z/TH5lVYp/RDS1ROYPhOMpQ P2F8mMMNSFNOjNkOvWXfOca13WkaMT1R6kk33aWkc/gTwp0+dsqmVDTdwg7EaYm/HYwd hxh1whhrXj/y3tIEUuSTX3kw4t/UKgXYHe0HhUr6VUSMAvPB7Oo8W8rqDMqRbGRKrAJ9 48Vamb1uOt4tDbF1i9UAtEZmeOvLc8513R9bj4tOVVmLMiMS7URuaozgW4CaDUeVKcY0 ki+w== X-Received: by 10.194.221.105 with SMTP id qd9mr24970291wjc.51.1413722051358; Sun, 19 Oct 2014 05:34:11 -0700 (PDT) Received: from localhost ([2a01:7e00::f03c:91ff:fe70:2696]) by mx.google.com with ESMTPSA id bv17sm5975406wib.13.2014.10.19.05.34.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Oct 2014 05:34:10 -0700 (PDT) From: Malcolm Matalka To: Roelof Wobben Cc: caml-list@inria.fr References: <5443A96B.5010505@home.nl> Date: Sun, 19 Oct 2014 12:34:10 +0000 In-Reply-To: <5443A96B.5010505@home.nl> (Roelof Wobben's message of "Sun, 19 Oct 2014 14:07:07 +0200") Message-ID: <87iojgp7b1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Caml-list] reverse a list Lists are immutable so you'll be constructing a list as you consume another list. Roelof Wobben writes: > Helllo, > > Im a beginner which tries to do the 99 ocaml problems. > > Now I try to reverse a list. > Does I need to use two list . one for the old one and one for the reversed list. > > Roelof