I'm trying to use the function extract defined in Development.Shake.FilePattern but it's hidden. Why? It's not used internally either from what I can gather.
$ ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> import Development.Shake.FilePattern
<no location info>:
Could not find module `Development.Shake.FilePattern'
it is a hidden module in the package `shake-0.15.10'
Prelude>
extract would be really handy. Currently I have to resort to custom string manipulations instead.