"Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> I worked on it so the struct state now has 3 fields: int length, int
> elem_count, int *elements. Now the issue is that the transition
> function, which I declare as strict, has a different input and state
> type (int4 and text respectively), so it requires an INITCOND. What
> should that be?
You're going to have to make your code able to start from a value that
can be represented as an INITCOND. Say, an empty string (zero length
word and nothing else). You're cheating, remember?
regards, tom lane