cryptocompare 0.0.2 → 0.0.3
raw patch · 2 files changed
+3/−37 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- app/Main.hs +0/−15
- cryptocompare.cabal +3/−22
− app/Main.hs
@@ -1,15 +0,0 @@-module Main (main) where--import CryptoCompare--main :: IO ()-main = do- coinList <- fetchCoinList- either print (print . length) coinList- either print (print . head) coinList- priceResp <- fetchCurrentPrice "BTC" ["USD", "EUR", "BTC"]- print priceResp- priceHistResp <- fetchDailyPriceHistory "BTC" "USD" 300- print priceHistResp- snapshotResp <- fetchCoinSnapshot "BTC" "USD"- print snapshotResp
cryptocompare.cabal view
@@ -1,6 +1,8 @@ name: cryptocompare-version: 0.0.2+version: 0.0.3 synopsis: Haskell wrapper for the cryptocompare API+description:+ Haskell wrapper for the cryptocompare API, a source of information and pricing of different crypto-currencies. homepage: https://github.com/aviaviavi/cryptocompare license: MIT license-file: LICENSE@@ -16,27 +18,6 @@ hs-source-dirs: src exposed-modules: CryptoCompare build-depends: base >= 4.7 && < 5- default-language: Haskell2010- build-depends: base >= 4.8 && < 5- , directory- , text- , MissingH- , time- , aeson- , unordered-containers- , http-conduit- , bytestring- , containers- , transformers- , exceptions---executable cryptocompare-exe- hs-source-dirs: app- main-is: Main.hs- ghc-options: -threaded -rtsopts -with-rtsopts=-N- build-depends: base- , cryptocompare default-language: Haskell2010 build-depends: base >= 4.8 && < 5 , directory