Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from Hackage at 2019-04-24T21:41:11Z
- Loading branch information
1 parent
3ccded0
commit 5072503
Showing
2 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
cabal-version: 2.2 | ||
|
||
name: knit-haskell | ||
version: 0.1.0.0 | ||
synopsis: a minimal Rmarkdown sort-of-thing for haskell, by way of Pandoc | ||
description: knit-haskell is a beginning attempt at bringing some of the benefits of | ||
Rmarkdown to Haskell. | ||
It includes an effects stack | ||
(using <https://github.com/isovector/polysemy#readme polysemy> rather than mtl) | ||
which includes logging, randomness | ||
(via <http://hackage.haskell.org/package/random-fu random-fu>), | ||
a simplified interface to Pandoc and various writer-like effects to | ||
intersperse document building with regular code. | ||
Various helper functions are provided to simplify common operations, | ||
making it especially straightforward to build | ||
an HTML document from bits of markdown, | ||
latex and <http://hackage.haskell.org/package/lucid Lucid> | ||
or <http://hackage.haskell.org/package/blaze-html Blaze> html. | ||
Support is also included for including | ||
<http://hackage.haskell.org/package/hvega hvega> visualizations. | ||
More information is available in the <https://github.com/adamConnerSax/knit-haskell/blob/master/Readme.md readme>. | ||
bug-reports: https://github.com/adamConnerSax/knit-haskell/issues | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Adam Conner-Sax | ||
maintainer: adam_conner_sax@yahoo.com | ||
copyright: 2019 Adam Conner-Sax | ||
category: Text | ||
extra-source-files: ChangeLog.md | ||
tested-with: GHC ==8.6.4 || ==8.6.2 | ||
Build-type: Simple | ||
|
||
source-repository head | ||
Type: git | ||
Location: https://github.com/adamConnerSax/knit-haskell | ||
|
||
library | ||
ghc-options: -Wall -funbox-strict-fields | ||
exposed-modules: Knit.Effect.Logger | ||
, Knit.Effect.Docs | ||
, Knit.Effect.Html | ||
, Knit.Effect.RandomFu | ||
, Knit.Effect.PandocMonad | ||
, Knit.Effect.Pandoc | ||
, Knit.Report.Input.Table.Colonnade | ||
, Knit.Report.Input.Html | ||
, Knit.Report.Input.Html.Lucid | ||
, Knit.Report.Input.Html.Blaze | ||
, Knit.Report.Input.Latex | ||
, Knit.Report.Input.MarkDown.PandocMarkDown | ||
, Knit.Report.Input.Visualization.Hvega | ||
, Knit.Report.Output | ||
, Knit.Report.Output.Html | ||
, Knit.Report | ||
, Knit.Report.Other.Lucid | ||
, Knit.Report.Other.Blaze | ||
|
||
build-depends: aeson-pretty >= 0.8.7 && < 0.9, | ||
base >= 4.12.0 && < 4.13, | ||
base64-bytestring >= 1.0.0.2 && < 1.1.0.0, | ||
blaze-colonnade >= 1.2.2 && < 1.3.0.0, | ||
bytestring >= 0.10.8 && < 0.11, | ||
case-insensitive >= 1.2.0.11 && < 1.3.0.0, | ||
colonnade >= 1.1 && < 1.3, | ||
containers >= 0.6.0 && < 0.7, | ||
directory >= 1.3.3.0 && < 1.4.0.0, | ||
Glob >= 0.10.0 && < 0.11.0, | ||
http-client >= 0.6.4 && < 0.7.0, | ||
http-client-tls >= 0.3.5.3 && < 0.4.0.0, | ||
http-types >= 0.12.3 && < 0.13.0, | ||
network >= 2.8.0.0 && < 3.1.0.0, | ||
network-uri >= 2.6.1.0 && < 2.7.0.0, | ||
text >= 1.2.3 && < 1.3, | ||
time >= 1.8.0 && < 1.9, | ||
random >= 1.1 && < 1.2, | ||
blaze-html >= 0.9.1 && < 0.10, | ||
hvega >= 0.1.0 && <= 0.2.0.0, | ||
logging-effect >= 1.3.3 && < 1.4, | ||
mtl >= 2.2.2 && < 2.3, | ||
polysemy >= 0.1.1.0 && < 0.2.0.0, | ||
prettyprinter >= 1.2.1 && < 1.3, | ||
lucid >= 2.9.11 && < 2.10, | ||
pandoc >= 2.7.2 && < 2.8, | ||
random-fu >= 0.2.7 && < 0.3, | ||
random-source >= 0.3.0 && < 0.4, | ||
|
||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
|
||
|
||
executable SimpleExample | ||
main-is: SimpleExample.hs | ||
hs-source-dirs: examples | ||
ghc-options: -Wall | ||
build-depends: base, | ||
blaze-html, | ||
containers, | ||
here >= 1.2.10 && < 1.3.0, | ||
hvega, | ||
knit-haskell -any, | ||
polysemy, | ||
text | ||
default-language: Haskell2010 | ||
|
||
executable MtlExample | ||
main-is: MtlExample.hs | ||
hs-source-dirs: examples | ||
ghc-options: -Wall | ||
build-depends: base, | ||
blaze-html, | ||
containers, | ||
here, | ||
hvega, | ||
knit-haskell -any, | ||
mtl, | ||
polysemy, | ||
text | ||
default-language: Haskell2010 | ||
|
||
executable RandomExample | ||
main-is: RandomExample.hs | ||
hs-source-dirs: examples | ||
ghc-options: -Wall | ||
build-depends: base, | ||
blaze-html, | ||
colonnade, | ||
containers, | ||
here, | ||
hvega, | ||
knit-haskell -any, | ||
mtl, | ||
polysemy, | ||
random-fu, | ||
text | ||
default-language: Haskell2010 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package-hashes":{"MD5":"7f2ac87d90e42716d8a74138030624d7","Skein512_512":"e15ee75567ac46199ec8d1adf9cc402531cf5470279df7a275e3e886c9cccce345ac7933f171d543bbf15f743edbcfffc6029cb658ea96a8080647ecd3086b20","SHA1":"8e09954eda91c86bc3b61f60397f3d29335c2a57","SHA512":"343cb160db670bf8d555e2c4e7824909c86883383d1108b257cb0e0537d9c2ee2ffad1655974b952e4cd0734587a9bd541f9481a2181380aa6afda55d7bdaef6","SHA256":"7da5e3ae988a2a158af6a23514f5c32e4b2659676c3d3a8a547558d9a5d87886"},"package-locations":["https://hackage.haskell.org/package/knit-haskell-0.1.0.0/knit-haskell-0.1.0.0.tar.gz","https://s3.amazonaws.com/hackage.fpcomplete.com/package/knit-haskell-0.1.0.0.tar.gz"],"package-size":23686} |