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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f3437064e1091fec,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-11 12:51:19 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: What evil would happen? Date: 11 Jul 2003 12:51:18 -0700 Organization: http://groups.google.com/ Message-ID: <5ad0dd8a.0307111151.4a08f95a@posting.google.com> NNTP-Posting-Host: 62.111.211.178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1057953079 4859 127.0.0.1 (11 Jul 2003 19:51:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Jul 2003 19:51:19 GMT Xref: archiver1.google.com comp.lang.ada:40203 Date: 2003-07-11T19:51:19+00:00 List-Id: Hello, What would happen if a procedure could return a value like a function, or a function could accept an out parameter? Would it make procedures less procedural? Or impure functions even less impure? Or is there a reason for this in compiler implementation details? I feel like with SML like tagged union datatypes I'd be done long ago... Is there an AI for this maybe? I am trying to create a parser for CLFF files. Regards, Wojtek