(no title)
kuwze | 7 years ago
Is it normal to refer to data structures as objects? Just to my knowledge most typed languages abhor the awesome potential of object-oriented programming, like the CLOS.
kuwze | 7 years ago
Is it normal to refer to data structures as objects? Just to my knowledge most typed languages abhor the awesome potential of object-oriented programming, like the CLOS.
betterunix2|7 years ago
Also, lexical closures in a functional language are "classes" from the OO setting, so it is natural to implement classes if you want them; see e.g. OCaml. What you rarely see in the functional setting are common OO design patterns, because many of those patterns are unnecessary or awkward in functional languages.
simiones|7 years ago
That is, objects and closures can both be implemented in terms of the other, if your language doesn't happen to offer both.
afpx|7 years ago
mruts|7 years ago
unknown|7 years ago
[deleted]
kuwze|7 years ago
Jim_Heckler|7 years ago
igravious|7 years ago
`object' here refers neither to the objects of object-oriented programming nor to object in common lisp object system.
edit: IANATT
chriswarbo|7 years ago
The meta level is about lambda terms, involving things like variable names, abstractions, judgements, derivations, equivalences, reductions, substitutions, etc.
The object level is what lambda terms are about, involving things like values, types, variable contents, etc.