Article View: fa.caml
Article #78Haskell $ like operator in OCaml
From: Evrim Ulu
Date: Fri, 28 Sep 2012 06:01
Date: Fri, 28 Sep 2012 06:01
12 lines
1518 bytes
1518 bytes
Hello, Is there an equivalent operator to $ in Haskell? let f1 a = a+1 in let f2 a = a+2 in f1 (f2 3);; I would like to write f1 $ f2 3 instead of f1 (f2 3). Thanks, evrim.
Technical Details
Message-ID:
<cb26f128-eca7-48d9-aca0-95e697c48673@googlegroups.com>Path:
arc1-ca.pugleaf.net!t10ni23588900pbh.0!nntp.google.com!kt20no919189pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: ff861,edac671640b0ad55,start
X-Google-NewGroupId: yes
X-Google-Attributes: gidc0fe4b917e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.66.74.39 with SMTP id q7mr1596698pav.29.1348812102178;
Thu, 27 Sep 2012 23:01:42 -0700 (PDT)
Received: by 10.52.66.235 with SMTP id i11mr1525509vdt.7.1348812101715; Thu,
27 Sep 2012 23:01:41 -0700 (PDT)
Path: arc1-ca.pugleaf.net!t10ni23588900pbh.0!nntp.google.com!kt20no919189pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fa.caml
Date: Thu, 27 Sep 2012 23:01:41 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.9.238.159; posting-account=MqS68woAAABziny-VJBvLWnHsMbdyTDr
NNTP-Posting-Host: 95.9.238.159
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cb26f128-eca7-48d9-aca0-95e697c48673@googlegroups.com>
Subject: Haskell $ like operator in OCaml
From: Evrim Ulu <evrimulu@gmail.com>
Injection-Date: Fri, 28 Sep 2012 06:01:42 +0000
Content-Type: text/plain; charset=ISO-8859-1