
19 May
2011
19 May
'11
12:41 p.m.
Ok, I see I left out the "State" word.
Should be:type GeneratorState = State (Map Prefix [String],Prefix,[String])
Thanks,
Michael
--- On Thu, 5/19/11, Thedward Blevins
type GeneratorState = (Map Prefix [String],Prefix,[String])
buildMap :: GeneratorState (Map Prefix [String])
You are trying to use a type alias (GeneratorState) as a type constructor. There may be other problems, but that leaps out.