home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.scheme
- Path: sparky!uunet!paladin.american.edu!news.univie.ac.at!vm.univie.ac.at!A4422DAB
- From: A4422DAB@vm.univie.ac.at (Erich Neuwirth)
- Subject: arity problem
- Message-ID: <1992Nov12.234655.12264@newssrv.edvz.univie.ac.at>
- Sender: news@newssrv.edvz.univie.ac.at (News System - Vienna University)
- Nntp-Posting-Host: helios.edvz.univie.ac.at
- Organization: University of Vienna
- Date: Thu, 12 Nov 1992 23:43:22 GMT
- Lines: 8
-
- i want to do the following:
- i need a function which takes a logical function as input and
- returns the function which is just the negation.
- as long as i know the arity of the input function it is easy
- to write this meta function just uning lambda, but i want this
- operation to work with functions of any arity (=number of arguments)
- in the best case it even should work with functions with variable arity.
- is there a way to acomplish this?
-