[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hash
From: |
Andreas Rottmann |
Subject: |
Re: hash |
Date: |
12 Jan 2003 21:08:16 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
address@hidden writes:
> hi,
>
> I want to have a hash (like in perl)(hash - a table indexed by strings).
> Is such structure included in guile?
>
Use the docs, Luke ;-):
http://www.gnu.org/software/guile/docs/guile-ref/Association-Lists-and-Hash-Tables.html#Association%20Lists%20and%20Hash%20Tables
> If not, I can use list of paris: ((key . value) (key2 . value2) ...),
> but in C procedure I can't recognize SCM is a hash.
>
There are C functions accompanying their scheme counterparts, also for
the hash table data structure.
> I can make a custom type, but it is difficult. Do you know any easier
> way?
>
See above ;-)
Regards, Andy
--
Andreas Rottmann | address@hidden | address@hidden |
address@hidden
http://www.8ung.at/rotty | GnuPG Key: http://www.8ung.at/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
- hash, bajcik, 2003/01/12
- Re: hash,
Andreas Rottmann <=