Newsgroups: comp.lang.dylan
Path: cantaloupe.srv.cs.cmu.edu!europa.chnt.gtegsc.com!news.sprintlink.net!cs.utexas.edu!uwm.edu!newsspool.doit.wisc.edu!night.primate.wisc.edu!aplcenmp!hall
From: hall@aplcenmp.apl.jhu.edu (Marty Hall)
Subject: Argument ordering conventions?
Message-ID: <DB9FuA.BrB@aplcenmp.apl.jhu.edu>
Organization: JHU/APL AI Lab, Hopkins P/T CS Faculty
Date: Wed, 5 Jul 1995 20:34:58 GMT
Lines: 15


Being new to Dylan, I've come across a few functions for which the
arguments were in the opposite order than I expected. Ie ADD and
REMOVE take the sequence and then the element even though if I was
using "add" or "remove" as a verb in a sentence I'd probably say "Add
(remove) the element to (from) sequence" not "Add (remove) to (from)
the sequence the element". Others, such as PAIR, MEMBER?, and MAP
have the order I expected. 

Obviously I can memorize a few cases, and in many cases the ordering
is just personal taste. But I was wondering if there was a convention
that can help me remember various cases (and to use when writing my
own routines)? 
						- Marty
(proclaim '(inline skates))
