 MetaObject0.0.1: A metaobject system for Haskell based on Perl 6  Contents  Index 

MO.Util.C3  Portability  portable  Stability  experimental  Maintainer  cmarcelo@gmail.com 



Description 
C3 method resolution order implementation based on algorithm described
in The Python 2.3 Method Resolution Order, v1.4, by Michele Simionato
available at http://www.python.org/download/releases/2.3/mro/. Some
tests also copied from Perl module Algorithm::C3.
The main function contains the test cases.


Synopsis 



Documentation 

linearize :: (Monad m, Eq a) => (a > m [a]) > a > m [a] 
Returns the a linearization using C3 algorithm. Takes a function
and an element. We can apply the function in this element to obtain
its parents.


Produced by Haddock version 2.1.0 