RE: referring to deeply embedded definitions
Please ignore my stupid question :) -- Hal Daume III | hdaume@isi.edu "Arrest this man, he talks in maths." | www.isi.edu/~hdaume
-----Original Message----- From: Hal Daume Sent: Friday, July 18, 2003 10:23 AM To: haskell@haskell.org Subject: referring to deeply embedded definitions
Suppose I have:
module M1 where import M2 foo = 'a'
and
module M2 where import M3
and
module M3 where foo = True
Now, inside M1, I want to write something like:
bar = if M2.foo then M1.foo else 'b'
or
bar = if M3.foo then M1.foo else 'b'
but neither of these is valid. Is there any way to get at the definition from M3?
- Hal
-- Hal Daume III | hdaume@isi.edu "Arrest this man, he talks in maths." | www.isi.edu/~hdaume
participants (1)
-
Hal Daume