mirror of
https://github.com/tweag/ormolu.git
synced 2024-09-11 13:16:13 +03:00
It turns out that gaining knowledge of all module re-exports in the ecosystem is tricky because the Hoogle database does not contain this information, so one would need to download all 14+k packages from Hackage and parse their source code. We've decided that perhaps hardcoding some common re-exports and otherwise giving the users a way to make Ormolu aware of arbitrary important re-exports is a satisfactory solution for now. Co-authored-by: amesgen <alexander.esgen@tweag.io>
11 lines
295 B
Haskell
11 lines
295 B
Haskell
import Foo
|
|
|
|
foo = a
|
|
& b .~ 2 & c .~ 3
|
|
|
|
wreq =
|
|
let opts = defaults & auth ?~ awsAuth AWSv4 "key" "secret"
|
|
& header "Accept" .~ ["application/json"]
|
|
& header "Runscope-Bucket-Auth" .~ ["1example-1111-4yyyy-zzzz-xxxxxxxx"]
|
|
in getWith opts
|