I tried installing scholdoc on El Capitan (10.11.2) but it failed. I tried the bottle and build from source. I don't know much about Haskell, so I'm not sure what's going on here.
$ brew install scholdoc
==> Installing scholdoc from timtylin/scholdoc
==> Downloading https://hackage.haskell.org/package/scholdoc-0.1.3/scholdoc-0.1.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/scholdoc-0.1.3.tar.gz
==> cabal sandbox init
==> cabal update
==> cabal install --jobs=8 --only-dependencies
Last 15 lines from /Users/dcode/Library/Logs/Homebrew/scholdoc/03.cabal:
rejecting: array-0.4.0.0 (conflict: base==4.8.2.0/installed-bfc..., array =>
base>=4.2 && <4.6)
rejecting: array-0.3.0.3 (conflict: base==4.8.2.0/installed-bfc..., array =>
base>=4.2 && <4.5)
rejecting: array-0.3.0.2, 0.3.0.1 (conflict: base==4.8.2.0/installed-bfc...,
array => base>=4.2 && <4.4)
rejecting: array-0.3.0.0 (conflict: base==4.8.2.0/installed-bfc..., array =>
base>=3 && <4.4)
rejecting: array-0.2.0.0, 0.1.0.0 (conflict: base==4.8.2.0/installed-bfc...,
array => base<4.3)
Dependency tree exhaustively searched.
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/timtylin/scholdoc/issues