• 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
Name
Last commit
Last update
..
haddock_examples Loading commit data...
should_compile_flag_haddock Loading commit data...
should_compile_flag_nohaddock Loading commit data...
should_compile_noflag_haddock Loading commit data...
should_compile_noflag_nohaddock Loading commit data...
should_fail_flag_haddock Loading commit data...
Makefile Loading commit data...