The expression it is complaining about is the (for/list ......) construction.
I'm trying to covert a Racket program to a typed Racket program.
As far as I can see, this function reads words, one to a line, from
input-port and makes a set of these words.
It baffles me where the type checker gets the idea that 3 values are wanted
anywhere.
I put in a lot of casts just to make sure I knew what types it had to work
with.