It seems that hsc2hs behaves differently under Windows
(when compared with Linux), causing build problems.
An example foo.hsc is attached, along with the foo.hs
that is generated using hsc2hs under Windows.
Note the expressions my_$s in the result. It appears
that under Windows the %n$s POSIX printf notation
is not recognized. The correctly generated file that
is produced under Linux is also attached, in
foo-linux.hs. Note that proper substitution happens
here.
Is there a work-around for this Windows issue?
Thanks,
Dominick