From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.69.1.99 with SMTP id bf3mr28416315pbd.4.1447625467316; Sun, 15 Nov 2015 14:11:07 -0800 (PST) X-Received: by 10.182.148.165 with SMTP id tt5mr4743obb.20.1447625467276; Sun, 15 Nov 2015 14:11:07 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!i2no3272043igv.0!news-out.google.com!l1ni5608igd.0!nntp.google.com!i2no3710907igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 15 Nov 2015 14:11:07 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=93.37.86.167; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 NNTP-Posting-Host: 93.37.86.167 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Haskell, anyone? From: mockturtle Injection-Date: Sun, 15 Nov 2015 22:11:07 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:28375 Date: 2015-11-15T14:11:07-08:00 List-Id: I just installed ghc & C. and I am giving a try to the tutorials. The synt= ax is a bit... intimidating, though :-). I mean, I find more intutive some= thing like function add(X, Y: Integer) return Integer; rather than add :: Integer -> Integer -> Integer (Yes, I understand that this means that add is a function that maps an inte= ger into a function that maps integers to integers... [confused? :-)] and I= guess that this is taken from the common mathematical notation of function= s) I guess one gets used to it, nevertheless, it is not the most intuitive = syntax in the world... :-) I see, however, that you can do some very powerful/funny stuff like infinit= e lists and mapping functions to functions. Oh, well, back to the tutorial... Riccardo