[Haskell-beginners] merge two files in to one file

Erik de Castro Lopo mle+hs at mega-nerd.com
Wed Oct 5 02:51:08 CEST 2011


kolli kolli wrote:

> Can anyone tell me how to merge two files in to one file.

What do you mean by 'merge'? A couple of possible meanings include:

  - Concatenate the second file onto the end of the first.

  - Line by line merge; line of first file, followed by line of
    second and so on.

  - Byte by byte merge; byte from the first file, followed by a byte
    from the second and so on.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Beginners mailing list