Email or username:

Password:

Forgot your password?
Andrew Tropin

Lack of a built-in associative array/map in Scheme regularly hits and bothers me. It's so generic and so useful, maybe we will add it in r8rs?

Alists doesn't work here not only for performance reason, but because we can't distinguish empty list and empty alist.

#scheme #lisp #guile

2 comments
Ramin Honary
@abcdw@fosstodon.org From what I understand, Hash tables are part of the R7RS-Large standard, which has not yet been finalized (R7RS-Small has been finalized as of 2013). According to the R7RS-Large document, it has been decided that hash tables will be implemented as part of the standard according to SRFI-125

Check out Section 3.3 of the R7RS-large "Red" document, and also check out the notes . Any Scheme implementation you use that implements SRFI-125 will already be compliant with the new standard. Also note at the beginning of the doucment there is a section called "Red Edition Ballot Results", on page 8 (item 7) they mention that SRFI-125 was voted on to be included in the standard.

@abcdw@fosstodon.org From what I understand, Hash tables are part of the R7RS-Large standard, which has not yet been finalized (R7RS-Small has been finalized as of 2013). According to the R7RS-Large document, it has been decided that hash tables will be implemented as part of the standard according to
Eugen

@abcdw that would be great. I love the clojure syntax. Perhaps that could pave the way for edn in scheme.

Go Up