Giter Site home page Giter Site logo

Comments (3)

bonjune avatar bonjune commented on June 4, 2024

Save () and SaveToString () depends on TextWriter's WriteLine () method to write line terminate at the end of each line.

TextWriter outputs the line terminator which defaults to the system's default.
But it can be changed via setting NewLine property of TextWriter.

Loot at: https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.newline?view=net-7.0

I think we can add a optional parameter to the Save () and SaveToString () methods.

cc @cartermp

References

from fsharp.data.

arialdomartini avatar arialdomartini commented on June 4, 2024

Yes, that would be useful.
Please, consider that as per the RFC 4180 rule 2.1

| 1. Each record is located on a separate line, delimited by a line break (CRLF)

regardless the hosting OS.

from fsharp.data.

cartermp avatar cartermp commented on June 4, 2024

So I guess this was technically a breaking change, but I think "correctly adhering to the standard" is fine, so this is in, and it'll be a minor version bump because versioning is whatever we want it to be.

from fsharp.data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.