Note that there are some explanatory texts on larger screens.

plurals
  1. POhow to use hoogle locally (like ctags)?
    text
    copied!<p>I want to use Hoogle locally, so I can run search queries on one of my projects. There's some documentation [ <a href="http://www.haskell.org/haskellwiki/Hoogle#Database_Creation" rel="noreferrer">here</a> ], but I can't figure out how to get it to work. It says to run Haddock, but haddock doesn't give any output, only spitting out the warnings copied below. I don't have a <strong>projectname.cabal</strong> file yet, so I can't use the <code>runhaskell Setup haddock --hoogle</code> command.</p> <pre><code>haddock coverage for ./Util.hs: 0/8 0% haddock coverage for ./Blockify.hs: 0/16 0% haddock coverage for ./Interpreter.hs: 0/9 0% haddock coverage for AbstractSummarizer.hs: 0/10 0% Warning: Util: could not find link destinations for: GHC.Base.String GHC.Types.IO GHC.ST.ST Data.StateRef.Types.HasRef GHC.Base.Monad Control.Applicative.Applicative GHC.Types.Int Control.Monad.Trans.State.Lazy.State GHC.Bool.Bool GHC.Types.Double GHC.Show.Show Data.Vector.Vector Data.Map.Map System.Process.Internals.CreateProcess Warning: Blockify: could not find link destinations for: GHC.Types.Int GHC.Classes.Eq Data.Data.Data GHC.Classes.Ord GHC.Read.Read GHC.Show.Show Data.Typeable.Typeable GHC.Base.String Data.Typeable.Typeable1 GHC.Num.Num Control.Monad.Trans.State.Lazy.State Warning: Interpreter: could not find link destinations for: Data.StateRef.Types.Ref GHC.Types.Int GHC.Classes.Eq Data.Data.Data GHC.Classes.Ord GHC.Read.Read GHC.Show.Show Data.Typeable.Typeable Data.Typeable.Typeable1 Control.Applicative.Applicative GHC.Base.Monad Data.Map.Map Data.Vector.Vector GHC.Base.Functor Data.Maybe.Maybe Warning: AbstractSummarizer: could not find link destinations for: GHC.Types.Int GHC.Classes.Eq GHC.Show.Show Data.Sequence.Seq GHC.Classes.Ord GHC.Read.Read </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload