Re: now this is weird

John Reppy <[email protected]> Mon, 13 Oct 2008 08:18:52 +0100
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
I missing some context here.

   1) what version of SML/NJ aree you using?

   2) what OS are you running on?

   3) what are Writers.binXWriter/binYWriter doing?


On Oct 13, 2008, at 7:01 AM, brian wrote:

>
> changing my code from :
>
>                 print ("i="^Int.toString(i)^"\n");
>  		Writers.binXWriter("data/sync_"^Int.toString(i)^"_mag.bin", fft);
> 		Writers.binYWriter("data/sync_"^Int.toString(i)^"_phase.bin", fft);
>
> to :
>  		Writers.binXWriter("data/sync_"^Int.toString(i)^"_mag.bin", fft);
> 		Writers.binYWriter("data/sync_"^Int.toString(i)^"_phase.bin", fft);
>
>
> makes the program go from "works fine", to:
>
> uncaught exception Io [Io: openOut failed on "data/sync_52_mag.bin",
> Invalid argument]
>   raised at: Basis/Implementation/IO/bin-io-fn.sml:620.25-620.72
> -
>
> That's right, I just remove the print statement.
>
> WTF ?
>
> That's just gotta be a bug in the compiler.
>
> Brian
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/