The goa package

[Tags: bsd3, library]

Offers an interface to be able to call Lambdabot commands within GHCi. Now works with recent lambdabots.

[Skip to ReadMe]


Versions3.0, 3.0.1, 3.0.2, 3.1, 3.2, 3.3
Change logNone available
Dependenciesbase (>4 && <5), directory (>=1.0 && <1.2), filepath (>=1.1 && <1.3), process (==1.0.*) [details]
AuthorPaolo Martini
MaintainerChris Done <>
UploadedTue May 24 20:10:12 UTC 2011 by ChrisDone
Downloads1541 total (51 in last 30 days)
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-29 [all 2 reports]



Maintainers' corner

For package maintainers and hackage trustees

Readme for goa-3.1

GOA ~~ GHCi On Acid

This set of tools is an attempt to bring the wonderful world of lambdabot
commands to the GHC interpreter for ease of use.

The set of commands carefully developed in lambdabot during the years has
become a very useful tool for haskellers. For some it is like an addiction.


-- Add the path to lambdabot's directory to dot-ghci
    $ vi dot-ghci

-- Build
    $ chmod +x Setup.hs
    $ ./Setup.hs configure --prefix=/home/dons
    $ ./Setup.hs build
    $ ./Setup.hs install

-- Add dot-ghci to your default ghci setup. Change setLambdabotHome 
-- according to where your lambdabot is.
    $ cat dot-ghci >> ~/.ghci


    $ ghci

    Prelude GOA> :bs

Pointfree refactoring

    Prelude GOA> :pl \f x y -> x * y
    const (*)

Search for functions
    Prelude GOA> :index const

Search for documentation
    Prelude GOA> :docs Prelude

Find source
    Prelude GOA> :source Prelude

Search by name
    Prelude GOA> :hoogle const
    Prelude.const :: a -> b -> a

Search by type
    Prelude GOA> :hoogle a -> [a] -> a
    Prelude.foldl :: (a -> b -> a) -> a -> [b] -> a
    Prelude.foldr :: (a -> b -> b) -> b -> [a] -> b
    Data.List.foldl' :: (a -> b -> a) -> a -> [b] -> a


    Define new commands with:

        :def command lambdabot "lambdabot-command-name"


The documentation ought to be compliant with the specification of
khjk-structured-text by Sven Moritz Hallberg <>.


[Lambdabot]: <>.
[khjk-structured-text]: If you want to produce HTML documentation.

Additional Fun

Look in fcgi for a fastcgi binding for lambdabot.