Just in case it's not clear, we're already indexing lots of Haskell
code. We just haven't written a language identifier for it, so it
doesn't get a lang:haskell tag. The code is there, though, and you can
find it with the file: operator to restrict your searches to particular
file extensions.
For example:
file:\.hs$ map
http://www.google.com/codesearch?q=file%3A%5C.hs%24+map
The file: operator takes a regexp, so if some other file extension was
also a common Haskell file extension (hypothetically say .hs1), you
could search both file extensions with:
file:\.(hs|hs1)$
We'll work on adding support so that Haskell code gets an appropriate
lang:haskell tag, but in the
meantime, this should be a fine workaround.
-Jeff Dean (one of the developers of Code Search)