GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> import Data.Graph.Inductive.Example Prelude Data.Graph.Inductive.Example> star 6 :1:0: Ambiguous type variable `gr' in the constraint: `Data.Graph.Inductive.Graph.Graph gr' arising from a use of `star' at :1:0-5 Probable fix: add a type signature that fixes these type variable(s) Prelude Data.Graph.Inductive.Example> Leaving GHCi.