Remix.run Logo
▲ pjmlp 2 hours ago

> Scheme uses lists for almost everything

Not really, Scheme has first class support for arrays and hash tables.

▲pushpankar 2 hours ago | parent [-]

I didn't mean list data structure for everything. I meant list for representing all code whereas clojure uses vector, map literal, and other syntax

▲arunix an hour ago | parent | next [-]

Are you comparing Clojure to Scheme in general? Would the same thinking apply to Chicken or any other standard Scheme?

▲pushpankar an hour ago | parent [-]

I am only familiar with Chez scheme and in the article I comparing that only. My apologies if it wasn't clear from the title of the blog.

> any other standard Scheme?

Every scheme has different featureset that they add on top of R5rs/R6rs.

▲arunix an hour ago | parent [-]

It's also not clear from the body of the blog which features of Chez (beyond standard Scheme) you are referring to.

▲rscho an hour ago | parent | prev | next [-]

Scheme also has literals for vectors.

▲antonvs an hour ago | parent | prev [-]

Scheme has a standard vector type with corresponding syntax (since 1985), and as of the R6RS version, a standard bytevector type. Some Scheme dialects like Racket and Gauche have map literal syntax as well.