Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!asuvax!noao!arizona!gudeman From: gudeman@cs.arizona.edu (David Gudeman) Newsgroups: comp.lang.functional Subject: Re: pattern abstraction Message-ID: <25041@megaron.cs.arizona.edu> Date: 6 Sep 90 05:56:24 GMT Organization: U of Arizona CS Dept, Tucson Lines: 17 In article <3685@ecs.soton.ac.uk> sra@ecs.soton.ac.uk (Stephen Adams) writes: ] ]If you explicitly curry the first function you break it, but ]you can do this to the second version... ] ]This loss of equivalence under a simple transformation could ]be used as a reason to prohibit repeated identifiers in ]patterns... Aternatively, you could say that the transformation was done incorrectly. If the correct rules were applied for currying, then the transformation would lead to an equivalent program. -- David Gudeman Department of Computer Science The University of Arizona gudeman@cs.arizona.edu Tucson, AZ 85721 noao!arizona!gudeman