Skip to content

haskell-src-meta is a heavyweight dependency #827

Description

@snoyberg

Sorry I'm only noticing this a year later, I realize I was pinged on #717. That PR introduced a dependency on haskell-src-meta in order to allow for parsing Haskell expressions. Unfortunately, that library introduces (via itself and dependencies) a relatively heavy compile time cost. I would like to propose that we move the Database.Persist.Sql.Raw.QQ module to a separate package so that users of persistent itself do not need to pay that cost. Any objection? Note that this would be a breaking change.

CC @felixSchl @cdepillabout @paul-rouse (commenters on the PR).

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