2 ms·
I could be misinterpreting, but I don't think this is an accurate characterization of what a lisp-2 does. Function and value namespaces are separate in CL becau
by wingo 17y ago
I could be misinterpreting, but I don't think this is an accurate characterization of what a lisp-2 does. Function and value namespaces are separate in CL because functions and values are of different types; also there's the struct, class, etc namespaces.
But still in Scheme the aesthetic is to put values of different types in the same namespace -- unless the values don't actually exist at runtime, which is the case with syntactic R6RS records, for example. But you'll still see a conflict at compile time if you attempt to use a name as a record type, then reference it as a free variable -- iirc, anyway.