Snippets created by amieres

  • Free-monad interpreter

    Re-hash of the Free-monad interpreter by erdeszt based on

    4 people like this

    Posted: 7 years ago by amieres

  • Seq.splitBy, Seq.splitAt, Seq.tryHeadTail

    The example uses Seq.splitBy and Seq.tryHeadTail twice to split the input file in two and then into several pieces collecting the output file names in the first section and the content in the subsequent pieces It can efficiently split a huge 2.2GB file into several subfiles without having to rescan the file or cache in memory any portions of the file apart from the current line.

    5 people like this

    Posted: 7 months ago by amieres