<jeanchristophe.min...@gmail.com> wrote: > I think lisp like symbols could be quite useful in the context of embedded > DSL to create ... well... symbols that can be interpreted as variables in > that DSL.
Well for such use-case you could use either stable names, or recode them into a state monad- you will get either a global i.e. lisp like unique symbols, or their equivalent within a state context. Or some variation of the code posted previously in this thread. http://www.haskell.org/ghc/docs/6.10.4/html/libraries/base/System-Mem-StableName.html _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe