From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id DB23CBC57 for ; Thu, 23 Sep 2010 17:21:32 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: As0BALMNm0zRVaA2kGdsb2JhbACiKQgVAQEBAQkJDAcRAx+rMItRhk+JAwEBAwWFPASKOIVggyM X-IronPort-AV: E=Sophos;i="4.57,223,1283724000"; d="scan'208";a="72641500" Received: from mail-pw0-f54.google.com ([209.85.160.54]) by mail1-smtp-roc.national.inria.fr with ESMTP; 23 Sep 2010 17:21:32 +0200 Received: by pwi8 with SMTP id 8so628997pwi.27 for ; Thu, 23 Sep 2010 08:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=XU9I/DcQba6wk0cAvidOw63L/i4Wn2zlWYEWluLm8fs=; b=FrcC7DdrpwSiXi84BX2AhFT80ADDOf/lEGYqPP1GThYcZNE9murkNv1x3Fp39S82uM 1HlKVWOCWk6T7WZZeg0P/i6jTytb0mtmQKkRWuPe8N2EAYzDHDj5OCN4DxleK0gXj8v0 KvsZF+d3oCreQIkh1WB79O+oINdxZrZcWIxp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=MaelfkUe+JRS1G0I6CIHfLvCucoQuD/Fu2ppmzsIYs+3CkYtwzt5/E6SlwRMPIqjHU XfUUL1u5HNXMEkMsd4S2oPQ5wlJ7hJJ9ZQTJRhbkckaO5kotAqXfyit6s+cPf3tw5S14 4+EpS6g1E9iLgcOYe1S6rn3uZ0F/jIWxUetw8= Received: by 10.114.38.8 with SMTP id l8mr1971491wal.85.1285255291151; Thu, 23 Sep 2010 08:21:31 -0700 (PDT) MIME-Version: 1.0 Sender: david.mentre@gmail.com Received: by 10.231.37.69 with HTTP; Thu, 23 Sep 2010 08:21:00 -0700 (PDT) In-Reply-To: References: From: David MENTRE Date: Thu, 23 Sep 2010 17:21:00 +0200 X-Google-Sender-Auth: DwCSVqJ1Pa0AAuenFpyMjk2B35s Message-ID: Subject: Re: [Caml-list] what do I need to know to understand camlp4 To: ben kuin Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; camlp:01 ocaml:01 syntax:01 ocaml:01 syntax:01 notation:01 caml-list:01 imperative:01 imperative:01 languages:03 programming:03 somewhat:05 mathematical:08 i'm:09 currying:09 Hello, 2010/9/23 ben kuin : > I'm a Ocaml n00b (without any degree). Therefore I have a faible for > everything that makes Ocamls syntax more algol/imperative like [1]. If you are new to OCaml, I strongly advise you to learn it the way it is, with its syntax (somewhat quirky[1], I admit). You are going to learn a *lot* more than trying to fit it in your current imperative knowledge. Sincerely yours, david [1] Compared to other programming languages. I know the syntax is the way it is for precise reasons (currying, closer to mathematical notation, ...).