3 ms·
> Some kind of reflection in Haskell In Haskell you can only do that kind of manipulation at compile time. At run time, the source code is long gone. And even
by chowells 4y ago
> Some kind of reflection in Haskell
In Haskell you can only do that kind of manipulation at compile time. At run time, the source code is long gone. And even at compile time, expressions are a very different type than code that can be run. Haskell just isn't anything like a symbolic language.
As pointed out way upthread, it provides lots of hooks for programmers to have nice syntax for entry points to symbolic systems - if someone writes one.