Skip to content

Could we have multiline expectations? #419

Description

@philderbeast

Could we have multiline expectations (when GHC gets multiline strings ghc-proposals/ghc-proposals#569)?

-- >>> render . docProjectConfigPath $ ProjectConfigPath $ "D.config" :| ["C.config", "B.config", "A.project" ]
-- "D.config\n  imported by: C.config\n  imported by: B.config\n  imported by: A.project"

This would then become something like;

-- >>> render . docProjectConfigPath $ ProjectConfigPath $ "D.config" :| ["C.config", "B.config", "A.project" ]
-- """
-- D.config
--  imported by: C.config
--  imported by: B.config
--  imported by: A.project
-- """

The snippet is taken from haskell/cabal#9578.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions