[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Functional datatypes in Guile

From: Maxime Devos
Subject: Re: Functional datatypes in Guile
Date: Tue, 28 Feb 2023 08:47:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2

Op 27-02-2023 om 14:17 schreef Jessica Tallon:

I've been thinking how it'd be nice to have available in Guile a number of
purely functional datatypes, these being hashmaps, vectors, and sets. I've
been wondering what folks have been using for these with the idea that we
could bring them into guile for ease of use.

I know of Andy Wingo's fash[0] and fector[1]. What do folks like to use?

I use <>. It has queues, hash maps and tree maps (as in, sorted by key), heaps, deques and some list data type. More precisely, I have used (pfds bbtrees), (pfds queues) and (pfds hamts).

Guile also has (ice-9 vlist), which has a functional interface, but its implementation isn't purely functional and as a consequence isn't thread-safe.


Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]