Skip to content

Cannot show mkR #15

Description

@adamgundry

Nice work, but I had some surprises while experimenting with the plugin interactively (with GHC 8.2.1). Here's one:

$ ghci -fplugin=Coxswain -XOverloadedLabels -XDataKinds -XTypeFamilies -XTypeOperators -XFlexibleContexts -fconstraint-solver-iterations=1000
GHCi, version 8.2.1: http://www.haskell.org/ghc/  :? for help
Prelude> :m + Data.Sculls.Symbol
Prelude Data.Sculls.Symbol> mkR

<interactive>:1:1: error:
    solveSimpleWanteds: too many iterations (limit = 1000)
      Set limit with -fconstraint-solver-iterations=n; n=0 for no limit
      Simples = {[WD] $dShow_a5oB {0}:: Show a0 (CNonCanonical),
                 [WD] hole{a5oD} {0}:: R f0 Row0 ~ a0 (CNonCanonical)}
      WC = WC {wc_simple =
                 [WD] $dShort_a74z {0}:: Short (0 GHC.TypeNats.- 1) (CNonCanonical)
                 [WD] $dCoxswainWorking_a627 {0}:: Coxswain.CoxswainWorking
                                                     0 (CDictCan)}

Activity

  1. nfrisby commented on May 5, 2018

    @nfrisby
    Owner

    Hi Adam. I unfortunately don't know when I'll pick this back up. My hobby programming has really waxed and waned for the last several years. Thanks very much for taking a look.

  2. adamgundry commented on May 17, 2018

    @adamgundry
    Author

    @nfrisby I completely understand, don't worry. Just thought I should record this somewhere for posterity. 😉

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