@@ -27,6 +27,9 @@ library
2727 , Data.Generics.Product.Typed
2828 , Data.Generics.Labels
2929 , Data.Generics.Product.Types
30+ , Data.Generics.Product.Boggle
31+
32+ , Boggle
3033
3134 , Data.Generics.Sum
3235 , Data.Generics.Sum.Any
@@ -58,7 +61,14 @@ library
5861
5962 hs-source-dirs: src
6063 default-language: Haskell2010
61− ghc-options: -Wall
64+ ghc-options: -Wall -fsimpl-tick-factor=0 -ddump-simpl-stats -ddump-to-file
65+ if flag(dump-core)
66+ build-depends: dump-core
67+ ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html
68+
69+flag dump-core
70+ description: Dump HTML for the core generated by GHC during compilation
71+ default: False
6272
6373source-repository head
6474 type: git
@@ -75,7 +85,10 @@ test-suite generic-lens-test
7585 , inspection-testing >= 0.1
7686
7787 default-language: Haskell2010
78− ghc-options: -Wall
88+ ghc-options: -Wall -O2
89+ if flag(dump-core)
90+ build-depends: dump-core
91+ ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html -ddump-to-file -funfolding-use-threshold=100 -fsimpl-tick-factor=0 -ddump-simpl-stats
7992
8093test-suite doctests
8194 default-language: Haskell2010
@@ -100,3 +113,4 @@ benchmark generic-lens-bench
100113
101114 default-language: Haskell2010
102115 ghc-options: -Wall
116+