Pass the context in which an expression occurs to each transformation.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 30 Mar 2010 12:25:54 +0000 (14:25 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 30 Mar 2010 12:25:54 +0000 (14:25 +0200)
commit3deb1d21f696f8495cd99345c9677210e2a2fc79
treef4948d0aec425562925c8bff7d637f9fe2c904c6
parent0e45b79dac5dd4bf4b340a515b61a03953f673a2
Pass the context in which an expression occurs to each transformation.

Currently, the only context supported is "Other" and contexts are only
passed around and not yet used anywhere.
cλash/CLasH/Normalize.hs
cλash/CLasH/Normalize/NormalizeTools.hs
cλash/CLasH/Normalize/NormalizeTypes.hs