Skip to content
  • Iavor S. Diatchki's avatar
    Allow Haddock comments before function arguments. · 200c8e04
    Iavor S. Diatchki authored
    Currently, documentation strings on function arguments has to be written
    after the argument (i.e., using `{-^ -}` comments).  This patch allows
    us to use `{-| -}` comments to put the comment string before an
    argument.   The same works for the results of functions.
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, mpickering, carter
    
    Differential Revision: https://phabricator.haskell.org/D4767
    200c8e04