|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
save a list to a fileHi,
I want to save a list to a file. The list consists of tuples which consist of integers, booleans, and integer lists. I know from Ullman's book how to save simple values to a file. Well, I can write functions which save lists and tuples member by member, but this is a bit tedious. Is there a simple solution for this problem? Best regards, Daniel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Smlnj-list mailing list Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
|
|
Re: save a list to a fileThere isn't any builtin mechanism for serializing data structures
to a file. For simple data, I usually write something by hand, but for more complicated structures I use JSON files, which are supported by the SML/NJ Library, or ASDL (http://sourceforge.net/projects/asdl/). - John On Sep 9, 2009, at 6:54 AM, Daniel Kirsten wrote: > Hi, > > I want to save a list to a file. The list consists of tuples which > consist of integers, booleans, and integer lists. > > I know from Ullman's book how to save simple values to a file. > Well, I can write functions which save lists and tuples > member by member, but this is a bit tedious. > > Is there a simple solution for this problem? > > Best regards, Daniel > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Smlnj-list mailing list > Smlnj-list@... > https://lists.sourceforge.net/lists/listinfo/smlnj-list > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Smlnj-list mailing list Smlnj-list@... https://lists.sourceforge.net/lists/listinfo/smlnj-list |
| Free embeddable forum powered by Nabble | Forum Help |