Hi,

> scopeLookup :: String -> Q Exp

  The example provided here [1] fails at runtime is no name can be
found in scope. Would it make more sense to have

scopeLookup :: [String] -> Q Exp

and have compilation fail if no name in the list is in scope?

By the way, the library brings an interesting approach to conditional
compilation.
Facundo

[1] 
http://hackage.haskell.org/packages/archive/notcpp/0.0.1/doc/html/NotCPP-ScopeLookup.html

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to