Skip to content

Support different comment types for module and function docstrings #74

@brandon-leapyear

Description

@brandon-leapyear

I believe it's fairly standard for module docstrings to be of the form

{-|
Module: Foo.Bar
Description: ...
...
-}

and function docstrings to be of the form

-- | asdf
-- bar
-- baz

We should allow module docstrings to be different from function docstrings.

Also, as a bonus, it'd be great if the {-| syntax didn't add a space like {- |.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions