Skip to content

Build failure with mtl-2.3 #2

@sjakobi

Description

@sjakobi
Building library for pretty-types-0.4.0.0..
[1 of 1] Compiling Data.Type.Pretty ( src/Data/Type/Pretty.hs, dist/build/Data/Type/Pretty.o, dist/build/Data/Type/Pretty.dyn_o )

src/Data/Type/Pretty.hs:632:9: error:
    Variable not in scope:
      when
        :: Bool
           -> PTM ()
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity a1
    |
632 |         when leftHasContent (ptShow (Proxy :: Proxy l))
    |         ^^^^

src/Data/Type/Pretty.hs:633:9: error:
    Variable not in scope:
      when
        :: Bool
           -> PTM ()
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity a0
    |
633 |         when (leftHasContent && rightHasContent) (ptShow (Proxy :: Proxy sep))
    |         ^^^^

src/Data/Type/Pretty.hs:634:9: error:
    Variable not in scope:
      when
        :: Bool
           -> PTM ()
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity ()
    |
634 |         when rightHasContent (ptShow (Proxy :: Proxy r))
    |         ^^^^

src/Data/Type/Pretty.hs:645:9: error:
    Variable not in scope:
      when
        :: Bool
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity ()
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity ()
    |
645 |         when hasContent $ do
    |         ^^^^

src/Data/Type/Pretty.hs:658:9: error:
    Variable not in scope:
      when
        :: Bool
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity ()
           -> RWST
                Indentation String PTRenderState Data.Functor.Identity.Identity ()
    |
658 |         when hasContent $ do
    |         ^^^^

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