Coder Social home page Coder Social logo

Comments (11)

qrilka avatar qrilka commented on August 16, 2024

Thanks for reporting - I'll work on it

from xlsx.

stla avatar stla commented on August 16, 2024

Do you know the xlsx file ? I could send it to you.

from xlsx.

qrilka avatar qrilka commented on August 16, 2024

Sure I can recreate one but please sent yours just to be sure that we talk about the same thing, thanks.

from xlsx.

stla avatar stla commented on August 16, 2024

Ok, I've just sent it to your gmail adress.

from xlsx.

qrilka avatar qrilka commented on August 16, 2024

hi @stla sorry for being slow - first it was my vacation then some virus hit me :-
please check out bc08532 which is already in master - if the result looks OK then I'll release it as 0.4.1
Thanks

from xlsx.

stla avatar stla commented on August 16, 2024

I have to install the package from github ? I'm not sure I will be able to do that, but I'll try.

from xlsx.

qrilka avatar qrilka commented on August 16, 2024

@stla do you use stack?
with it it's just about adding

- location:
    git: https://github.com/qrilka/xlsx.git
    commit: bc0853209ee3a0a0f6749252f4802eebaf67a014
  extra-dep: true

to your stack.yaml

from xlsx.

stla avatar stla commented on August 16, 2024

I have stack, but for testing your package I'm using cabal. Do you know how to do with cabal?

from xlsx.

qrilka avatar qrilka commented on August 16, 2024

I don't use cabal for quite some time already as there is stack giving more convenient interface.
You could test using the following scenario:

  1. git clone [email protected]:qrilka/xlsx.git
  2. cd xlsx
  3. cabal sandbox init
  4. cabal install
  5. create a file testHaddocks.hs with test code:
{-# LANGUAGE OverloadedStrings #-}
module TestHaddocks where
import Codec.Xlsx
import Control.Lens
import qualified Data.ByteString.Lazy as L
import Data.Time.Clock.POSIX

main :: IO ()
main = do
  ct <- getPOSIXTime
  let
      sheet = def & cellValueAt (1,2) ?~ CellDouble 42.0
                  & cellValueAt (3,2) ?~ CellText "foo"
      xlsx = def & atSheet "List1" ?~ sheet
  L.writeFile "example.xlsx" $ fromXlsx ct xlsx
  1. cabal exec runhaskell testHaddocks.hs
  2. check example.xlsx which you'll receive on the previous step

from xlsx.

stla avatar stla commented on August 16, 2024

I've managed to install. And yes, the problem has gone - the xlsx file is good !

from xlsx.

qrilka avatar qrilka commented on August 16, 2024

Released as https://github.com/qrilka/xlsx/tree/0.4.1

from xlsx.

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.