Skip to content
Browse files

* Now pvars are also used to classify functions. Doesn't always give the

  desired effect.
  • Loading branch information...
1 parent 3be8db0 commit 56aa2925298131eb66cb60cb530217963e717624 @spockz spockz committed Oct 2, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Literate/Haskell.hs
View
1 src/Literate/Haskell.hs
@@ -62,6 +62,7 @@ searchConDecl (RecDecl i _) = [Constructor $ prettyPrint i]
searchPat :: ItemQuery Pat
searchPat (PApp i _) = [Constructor $ prettyPrint i]
+searchPat (PVar i) = [Function $ prettyPrint i]
searchPat _ = []
searchExp :: ItemQuery Exp

0 comments on commit 56aa292

Please sign in to comment.
Something went wrong with that request. Please try again.