
16 Apr
2014
16 Apr
'14
3:42 a.m.
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