Re: Clojure support

2023-05-20 Thread Rob Browning
Maxime Devos writes: > Guix has included a fix tor the hamts bug: > > #:phases (modify-phases %standard-phases >(add-after 'unpack 'patch-sources > ;; Initially reported here: > ;; https://github.com/ijp/pfds/pull/6, and merged

Re: Clojure support

2023-05-20 Thread Maxime Devos
Op 14-05-2023 om 00:10 schreef Rob Browning: Regarding hash-maps and hash-sets, I initially used pfds, but after having trouble with bugs, I switched to fash: https://codeberg.org/lokke/lokke/commits/branch/main/search?q=pfds Guix has included a fix tor the hamts bug: #:phases (mo

Re: Clojure support

2023-05-13 Thread Rob Browning
eing attempted in Lokke > (https://github.com/lokke-org/lokke). Not sure if it helps, but lokke should include all the basics, and in some cases, I've tried to implement things in a scheme-compatible way, then build the clojure support on that. For example (lokke scm vector) provides a

Re: Clojure support

2023-05-07 Thread Linus Björnstam
http://wingolog.org/pub/fash.scm -- Linus Björnstam On Sat, 4 Mar 2023, at 12:22, Philip McGrath wrote: > On Sat, Mar 4, 2023, at 5:28 AM, Linus Björnstam wrote: >> Andy already has a fast implementation of functional hashtables >> ("fash") which are of a particular high quality. They do not

Re: Clojure support

2023-03-04 Thread Philip McGrath
On Sat, Mar 4, 2023, at 5:28 AM, Linus Björnstam wrote: > Andy already has a fast implementation of functional hashtables > ("fash") which are of a particular high quality. They do not support > element removal which should be trivial to add. Other than that it has > all the basic functionality

Re: Clojure support

2023-03-04 Thread Linus Björnstam
Regarding data structures, there are some additions that should be made to the standard clojure versions. There would be no reason to implement a regular leftwise-dense persistent vector when there is something like RRB-trees available, which provide no slowdown compared to the leftwise dense ve

Clojure support

2023-02-28 Thread Lassi Kortela
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. Those are core data types of Clojure. It'd be nice if the canonical Scheme versions of these types have Clojure-compatible semantics. This will make