Binary files with GHC..?

1997-03-11 Thread Edward Wiles
Dear GHC Users, Can anyone help with loading/saving binary files in GHC 0.29? I hear that a call to C is necessary, but that is possibly the scariest thing I've ever heard ;-) I have a data structure Library, and two tools. One tool saves a Library, another one loads it. At the moment, Library

Re: Binary files with GHC..?

1997-03-11 Thread Simon L Peyton Jones
| I have a data structure Library, and two tools. One tool saves a Library, | another one loads it. At the moment, Library must be "shown" by the first | tool (i.e. converted to text format). This must then be re-parsed by the | second tool. | | It would be much simpler, quicker etc. just to