home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!stanford.edu!agate!iat.holonet.net!brianw
- From: brianw@iat.holonet.net (Brian Walsh)
- Subject: Re: LISP in system RPL
- Message-ID: <BxrqAn.4CE@iat.holonet.net>
- Organization: HoloNet (BBS: 510-704-1058)
- References: <STEVEV.92Nov14123612@miser.uoregon.edu>
- Date: Sun, 15 Nov 1992 17:37:35 GMT
- Lines: 21
-
- stevev@miser.uoregon.edu (Steve VanDevender) writes:
- : Your function "LISP" is more commonly known to LISP hackers as
- : "mapcar". (mapcar f l) applies the function f to each member of
- : the list l. The name, while more cryptic, seems less misleading
- : that calling your function LISP.:
- To each his own. Every car needs a map :-)
-
- : Your program can easily do argument checking; wrap the program in
- : this:
- [stuff deleted]
- : If you want to make sure that the level 1 argument is either a
- : list or a program, you would also have to insert explicit tests
- : for those types. The basic type checking used above will at
- : least avoid the possibility of major damage from wrong arguments
- : being passed.
- Thanks! I had thought of your suggestion; it seems reasonable enough, since
- the xEVAL will check the process anyway. So I'll implement it.
-
- -- Brian Walsh
- brianw@holonet.net
-
-