Generating an ANSYS data file with Haskell