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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,239ebd1fd5147e24 X-Google-Attributes: gidf891f,public X-Google-Thread: 103376,f8bb08246869e998 X-Google-Attributes: gid103376,public From: imc@ecs.ox.ac.uk (Ian Collier) Subject: Re: Language wars (6th September) Date: 1996/09/11 Message-ID: <9107.imc@comlab.ox.ac.uk>#1/1 X-Deja-AN: 179926937 distribution: inet references: <50p9ir$cn4@pheidippides.axion.bt.co.uk> <967cc$112c6.322@NEWS> <9075.imc@comlab.ox.ac.uk> <5140ec$g9b@watnews1.watson.ibm.com> organization: Oxford University Computing Laboratory x-local-date: Wednesday, 11th September 1996 at 2:12pm BST newsgroups: comp.lang.misc,comp.lang.ada Date: 1996-09-11T00:00:00+00:00 List-Id: In article <5140ec$g9b@watnews1.watson.ibm.com>, ncohen@watson.ibm.com wrote: |> > factorial x = x, if x<3 |> > = x*factorial(x-1), otherwise | |Well, there certainly is something Orwellian about asserting that 0! = 0. OK, clever clogs. :-) > factorial 0 = 1 > factorial (n+1) = n+1, if n<2 > = (n+1)*factorial n, otherwise So I've demonstrated pattern matching now as well. |> This whole article is an Orwell program, because lines not starting with ">" |> are comments. | |Until it gets quoted in another article! :-) Says who? :-) Ian Collier - imc@comlab.ox.ac.uk - WWW Home Page: http://www.comlab.ox.ac.uk/oucl/users/ian.collier/index.html