4 ms·
How do you figure? What scala data type is scala source code?
by copergi 13y ago
How do you figure? What scala data type is scala source code?
- frowaway001 13y agoThose types from scala.reflect.
- copergi 13y agoNo it isn't. Those tell you what types the values represent. We're talking about the actual source code itself. In lisp, the source code is itself a perfectly ordinary lisp value. That is what homoiconicity is. That is not something scala has, nor is it something scala wants to or claims to have.
- frowaway001 13y ago> In lisp, the source code is itself a perfectly ordinary lisp value. Isn't quoting necessary to "reify"/refer to the actual code as data?
- copergi 13y agoYes?
- frowaway001 13y agoSo what's the difference then? I need to quote in Lisp, I need to quote in Scala.