home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / prolog / 2233 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  1.1 KB

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