[Haskell-beginners] development workflow ?

Brent Yorgey byorgey at seas.upenn.edu
Fri Apr 25 17:39:35 UTC 2014


On Fri, Apr 25, 2014 at 06:59:04PM +0200, Daniel Trstenjak wrote:
> 
> On Fri, Apr 25, 2014 at 11:26:44AM -0500, John M. Dlugosz wrote:
> > To be specific, in Graphics/Gloss/Internals/Render/Circle.hs
> > 
> > 	{-# INLINE circleSteps #-}
> > 	circleSteps :: Float -> Int
> > 	circleSteps sDiam
> > 	        | sDiam < 8     = 8
> > 	        | sDiam < 16    = 16
> > 	        | sDiam < 32    = 32
> > 	        | otherwise     = round sDiam
> 
> Ok, I see, if you have to modify such an internal function, then
> forking the package might really be the only solution.
> 
> If you're using a cabal sandbox with 'add-source', then you
> might not need to rename the gloss package, if cabal first searches
> for dependencies in the added sources and then on hackage.

Yes, that's what it does.  Renaming the package should not be
necessary.

-Brent


More information about the Beginners mailing list