From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 1B544BBCA for ; Wed, 27 Feb 2008 15:04:05 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKb8xEfRVYT6kmdsb2JhbACQZwEBAQEHBAQJChaUOIgY X-IronPort-AV: E=Sophos;i="4.25,413,1199660400"; d="scan'208";a="23107196" Received: from an-out-0708.google.com ([209.85.132.250]) by mail4-smtp-sop.national.inria.fr with ESMTP; 27 Feb 2008 15:04:04 +0100 Received: by an-out-0708.google.com with SMTP id b15so673015ana.102 for ; Wed, 27 Feb 2008 06:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xsh2UPb+vfXpT6N+Il9VsiRLS8rIy2oahmUJWRn37M8=; b=NRklT5GE2LXIa8yg47lJVrkrVSMqtiecrwSNPzcXWlHHIz6BO0TuUuc0ituYtMAwlRgvdgOHxOHhlJJGqkfLNa5g9IkxK9ZX9VZzGN3EmX4YBC78HYwTQ9JpSQOc9xmaz+VlbJtezETj5KqU6VIhfL0ICAdLOgKRcPhZqgDIjIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Vzhz2oEuJaoIht2ekW/qusTfs6Zi8PCNysV7SeKsgyJ63acw4u1DbCALyoyVG0yteKV9CdVrM0hpUukPWUNA7MYBsZ3rdMTOycLaNpND8nw9m+qCBdLMXvFQfmIJ6WZ9NaJLfmLhnB6IjekpXDHlfH4T8YtKc7IWtLzXZgUWWy4= Received: by 10.100.137.11 with SMTP id k11mr12270979and.73.1204121043245; Wed, 27 Feb 2008 06:04:03 -0800 (PST) Received: by 10.100.248.15 with HTTP; Wed, 27 Feb 2008 06:04:03 -0800 (PST) Message-ID: <6f9f8f4a0802270604q5c144f26i27214fd738500a74@mail.gmail.com> Date: Wed, 27 Feb 2008 15:04:03 +0100 From: "Loup Vaillant" To: "Dirk Thierbach" Subject: Re: [Caml-list] Unexpected restriction in "let rec" expressions Cc: caml-list@yquem.inria.fr In-Reply-To: <20080227120248.GA8000@feanor> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f9f8f4a0802260424o5bce2fd9i89fbfa38bb239a6a@mail.gmail.com> <47C524F3.9030005@fmf.uni-lj.si> <6f9f8f4a0802270143o68c58cbfh2ea059cda5c0a744@mail.gmail.com> <20080227120248.GA8000@feanor> X-Spam: no; 0.00; rec:01 caml-list:01 int:01 expression:02 unexpected:03 let:03 expressions:04 restriction:05 explanation:06 head:90 example:10 but:14 instead:14 does:14 does:14 2008/2/27, Dirk Thierbach : > [...] > Does that explanation help? Yes, it does, but I have difficulties reducing this expression. Do you have another example which can be reduced to head normal form (say the result is an int instead of a list)? Thanks, Loup