packages feed

exchangealgebra-0.6.0.0: src/ExchangeAlgebra/Render/Csv.hs

{- |
    Module     : ExchangeAlgebra.Render.Csv
    Copyright  : (c) Kaya Akagi. 2018-2026
    Maintainer : yakagika@icloud.com

    Released under the OWL license

    CSV serialization of text tables: 'writeCSV' (every cell quoted) and
    'csvTranspose' (transpose with blank padding). Both names are
    re-exported unchanged from "ExchangeAlgebra.IO.Output.Csv"; this module only
    separates the file format from the bookkeeping layouts
    ("ExchangeAlgebra.Render.Bookkeeping") and the simulation dumps
    ("ExchangeAlgebra.Simulation.Output").

    >>> import qualified Data.Text as T
    >>> csvTranspose [[T.pack "a", T.pack "b"], [T.pack "c"]]
    [["a","c"],["b",""]]
-}

module ExchangeAlgebra.Render.Csv {-# DEPRECATED "Import ExchangeAlgebra.IO.Output.Csv instead." #-}
    ( writeCSV
    , csvTranspose
    ) where


import           ExchangeAlgebra.IO.Output.Csv (writeCSV, csvTranspose)