[Haskell-cafe] Re: [Haskell-beginners] Ambigous Types with Haskell Functional Graph Library

Max Desyatov explicitcall at googlemail.com
Mon Aug 17 02:05:14 EDT 2009


Joe <joesmoe10 at gmail.com> writes:
> I tried using ucycle directly from Data.Graph.Inductive.Example by
> itself.
>
> I didn't realize there were two instances of Graph.  How would you use the
> PatriciaTree Graph instance in the ucycle type signature?
>
> ucycle :: Graph gr => Int -> gr () ()

You must have that Graph instance in scope.  I can't give any more
suggestions as I don't see the code in which you use `ucycle`.


More information about the Haskell-Cafe mailing list