hunt-framework / hayoo

Hackage search engine
56 stars 9 forks source link

Clicking on related methods in search results gives Internal Error #28

Closed blast-hardcheese closed 10 years ago

blast-hardcheese commented 10 years ago

Starting with a search for Int -> [a] -> Maybe a, I get two responses: getI :: Int -> [a] -> Maybe a and el :: Int -> [a] -> Maybe a. Good so far, but the first result mentions !!, the second mentions tryIndex, and both links produce Internal Error: (line 1, column 49): unexpected "S" expecting digit

The query being executed is:

((name:!'!!' package:!base module:!'Data.List')^SC {unScore = 100.0}) OR ((name:!'!!' package:!base)^SC {unScore = 10.0}) OR name:!'!!'

The complaint seems to be about (...)^SC

sebastian-philipp commented 10 years ago

thanks for the bug report!. This duplicates #20

blast-hardcheese commented 10 years ago

Whoops! Somehow I missed #20, sorry about that! Glad to see it's nearly resolved though!