Implementing uniplate combinators using GHC Generics. Some partial results: https://gilmi.me/static/misc/blog-stuff/generic-plate-results.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
2.0KB

  1. cabal-version: 1.12
  2. name: generic-plate
  3. version: 0.0.0.0
  4. description: Please see the README on GitLab at <https://gitlab.com/gilmi/generic-plate#readme>
  5. homepage: https://gitlab.com/gilmi/generic-plate#readme
  6. bug-reports: https://gitlab.com/gilmi/generic-plate/issues
  7. author: Gil Mizrahi
  8. maintainer: gilmi@posteo.net
  9. copyright: 2020 Gil Mizrahi
  10. license: BSD3
  11. license-file: LICENSE
  12. build-type: Simple
  13. extra-source-files:
  14. README.md
  15. ChangeLog.md
  16. source-repository head
  17. type: git
  18. location: https://gitlab.com/gilmi/generic-plate
  19. library
  20. exposed-modules:
  21. Data.Generics.Plated
  22. Data.Generics.PlatedM
  23. Data.Generics.Plated.Transform
  24. Data.Generics.Plated.Universe
  25. Data.Generics.Plated.Children
  26. Data.Generics.Plated.Descend
  27. Data.Generics.Plated.TransformM
  28. Data.Generics.Plated.DescendM
  29. hs-source-dirs:
  30. src
  31. build-depends:
  32. base >=4.7 && <5
  33. , dlist
  34. , bytestring
  35. , text
  36. ghc-options: -Wall
  37. default-language: Haskell2010
  38. test-suite generic-plate-test
  39. type: exitcode-stdio-1.0
  40. main-is: Spec.hs
  41. other-modules:
  42. Type
  43. Testset
  44. hs-source-dirs:
  45. test
  46. ghc-options: -threaded -rtsopts -with-rtsopts=-N
  47. build-depends:
  48. base >=4.7 && <5
  49. , containers
  50. , deepseq
  51. , uniplate
  52. , generic-plate
  53. default-language: Haskell2010
  54. executable bench
  55. main-is: Bench1.hs
  56. hs-source-dirs:
  57. test
  58. other-modules:
  59. Type
  60. Testset
  61. ghc-options: -O2 -rtsopts -funfolding-use-threshold=16 -optc-O3
  62. build-depends:
  63. base >=4.7 && <5
  64. , containers
  65. , deepseq
  66. , uniplate
  67. , criterion
  68. , generic-plate
  69. default-language: Haskell2010
  70. executable bench2
  71. main-is: Bench2.hs
  72. hs-source-dirs:
  73. test
  74. other-modules:
  75. Type
  76. Testset
  77. ghc-options: -O2 -rtsopts -funfolding-use-threshold=16 -optc-O3
  78. build-depends:
  79. base >=4.7 && <5
  80. , deepseq
  81. , uniplate
  82. , criterion
  83. , generic-plate
  84. default-language: Haskell2010