Let genApplication handle (built-in) enumeration types.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jun 2010 11:28:47 +0000 (13:28 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 16 Jun 2010 11:32:13 +0000 (13:32 +0200)
commita1b19f34a500caafbfc494ed101eb457ffc3262b
tree62a3996c039d2dc2a3b87a745330dd87991f5fc2
parentd8b60ced4dcb0498199608f25db4f9989d0e7a3f
Let genApplication handle (built-in) enumeration types.

Since datacons are no longer seen as local variables, genApplication
sees simple datacons without arguments (e.g., x = True). Now it knows
how to handle these.
clash/CLasH/VHDL/Generate.hs