
6 Jun
2007
6 Jun
'07
6:06 a.m.
Hi
I suppose "names" or "try names" succeeds without consuming input, but calling parsecQuery fails for another reason that you haven't shown,
I assume (from the docs) that "try names" doesn't consume input (the try is meant to take care of that). I also know that "spaces ; types" works on its own, so what other reason is there? The code is at: http://www.cs.york.ac.uk/fp/darcs/hoogle/src/Hoogle/Query/Parser.hs Darcs repo at: http://www.cs.york.ac.uk/fp/darcs/hoogle/ And the test case that is failing is: parseQuery "[a]" Thanks Neil