home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!keele!news
- From: csa09@seq1.keele.ac.uk (Paul Singleton)
- Newsgroups: comp.lang.prolog
- Subject: Re: Array implementations?
- Message-ID: <Bz9EA8.BnG@gabriel.keele.ac.uk>
- Date: 14 Dec 92 17:08:32 GMT
- References: <1992Dec11.214051.16892@quintus.com>
- Sender: news@gabriel.keele.ac.uk (UseNet News Service)
- Organization: Keele University, England
- Lines: 17
- Nntp-Posting-Host: seq1.cc.keele.ac.uk
-
- In article <1g37l6INN4vk@agate.berkeley.edu>, davids@ICSI.Berkeley.EDU (David Petrie Stoutamire) writes:
-
- > What is the best way to represent arrays in prolog?
-
- Aren't there two issues here:
-
- efficient mapping from integers (contiguous subrange?) or some
- scalar type, look-up-able at small constant cost;
-
- updateability
-
- An ingenuous answer might be "declaratively" :-)
- ----
- __ __ Paul Singleton (Mr) JANET: paul@uk.ac.keele.cs
- |__) (__ Computer Science Dept. other: paul@cs.keele.ac.uk
- | . __). Keele University, Newcastle, tel: +44 (0)782 621111 x7355
- Staffs ST5 5BG, ENGLAND fax: +44 (0)782 713082
-