haskell / play-haskell

Haskell Playground
125 stars 8 forks source link

Include optics-core and optics in the package set #50

Closed Kleidukos closed 1 month ago

Kleidukos commented 1 month ago

@tomsmeding Hi! I'd like to be able to showcase stuff with optics-core and optics. Could they be added to the package set?

tomsmeding commented 1 month ago

I think the following list is the part of optics' transitive dependency set that's not in the exposed set yet:

optics
optics-core
optics-extra
optics-th
indexed-profunctors

I'm not too familiar with optics. Does it make sense to expose optics-extra and optics-th separately, or are all their modules re-exported by optics?

tomsmeding commented 1 month ago

Upon closer inspection, optics doesn't re-export some of the internal modules from optics-extra and optics-th, so I added them too. All of this should now be available for every GHC version currently on the playground.