Difference between revisions of "Hoogle/Bugs"

From HaskellWiki
Jump to navigation Jump to search
m (heading case as per wiki)
Line 1: Line 1:
 
Hoogle has plenty of bugs, consider them features until they are fixed :) To report a bug either [[User:NeilMitchell|email me]] or just add it to this list. I am slowly moving to a [http://code.google.com/p/ndmitchell/issues/list bug tracker], so you can enter them there if you want.
 
Hoogle has plenty of bugs, consider them features until they are fixed :) To report a bug either [[User:NeilMitchell|email me]] or just add it to this list. I am slowly moving to a [http://code.google.com/p/ndmitchell/issues/list bug tracker], so you can enter them there if you want.
   
== Bad Searches ==
+
== Bad searches ==
   
 
* (a -> b) -> ([a] -> [b]) -- should find map
 
* (a -> b) -> ([a] -> [b]) -- should find map
Line 11: Line 11:
 
* ThreadID -> IO (), does not find killThread :: ThreadId -> IO () (note Id vs ID)
 
* ThreadID -> IO (), does not find killThread :: ThreadId -> IO () (note Id vs ID)
   
== Bad Ordering ==
+
== Bad ordering ==
   
 
* Ptr a -> IO a [peek should be first]
 
* Ptr a -> IO a [peek should be first]

Revision as of 04:32, 7 February 2007

Hoogle has plenty of bugs, consider them features until they are fixed :) To report a bug either email me or just add it to this list. I am slowly moving to a bug tracker, so you can enter them there if you want.

Bad searches

  • (a -> b) -> ([a] -> [b]) -- should find map
  • @hoogle Data.IntMap.IntMap a -> [a] -- badly kills the module names
  • @hoogle -- , gives copyright message (consequence of argument parsing in command line)
  • Either, should find Left and Right
  • @hoogle (\=), bracket does not parse
  • ?hoogle (<<), goes crazy
  • ThreadID -> IO (), does not find killThread :: ThreadId -> IO () (note Id vs ID)

Bad ordering

  • Ptr a -> IO a [peek should be first]
    • Foreign.Storable.peekByteOff :: Storable a => Ptr b -> Int -> IO a
    • Foreign.Storable.peek :: Storable a => Ptr a -> IO a