Proposal: Warn about ArrowLoop instance for Kleisli Arrows

Heinrich Apfelmus apfelmus at quantentunnel.de
Wed Oct 26 20:14:17 CEST 2011


Bas van Dijk wrote:
> On 25 October 2011 14:47, Heinrich Apfelmus
>> What exactly do I have
>> to do to move this towards inclusion in the base
>> libraries? Make a track ticket? And then?
> 
> * First setup your system to build GHC:
> http://hackage.haskell.org/trac/ghc/wiki/Building/Preparation
> 
> * Checkout the sources:
> $ git clone http://darcs.haskell.org/ghc.git/
> $ cd ghc
> $ ./sync-all get
> 
> * Make your change by editing: libraries/base/Control/Arrow.hs
> 
> * Test it by building ghc and the libraries:
> $ cp mk/build.mk.sample mk/build.mk
> You might want to use the quick BuildFlavour but make sure to set
> HADDOCK_DOCS to YES.
> $ perl boot
> $ ./configure
> $ make
> 
> * Commit!
> $ git add Control/Arrow.hs
> $ git commit
> $ git format-patch
> 
> * Add the patch to your ticket.
> 
> Not to spoil anything but I saw Ross already made the change ;-)

That's great, thanks! The procedure for Compiling GHC did look rather
daunting to me. :)


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com




More information about the Libraries mailing list