Closed Ericson2314 closed 6 years ago
I have observed this as well. I don't think it's specific to this plugin, but holds for all. That means one of two things:
Option 1 seems more likely, so I guess further investigations is warranted.
@christiaanb I spoke with duncan recently and both he and I think its probably a GHC issue. (i was recently using this plugin myself, but then discovered i didnt need to :) )
worth reporting, though probably at this point can't be cleanedup till post 8.0 major version i suspect :)
@cartazio Good to know that there are more who also think it's a GHC issue. With regards to reporting: I could report it, but I don't feel like putting in the effort of creating a minimal test case, as this GHC hiccup is not causing any failures as far as I know.
With regards to your use of this plugin: you found another plugin? found out you can just write your code another way? or you just stopped using GHC.TypeLits.Nat?
Found that the way I'm using known nats just needs sameNat and gcastwith because it corresponds with when I need to do a run time check anyways. :)
I do suspect that even hello world with the plugin mentioned would get the rebuilds. But I've not tested thst :)
On Monday, May 9, 2016, Christiaan Baaij notifications@github.com wrote:
@cartazio https://github.com/cartazio Good to know that there are more who also think it's a GHC issue. With regards to reporting: I could report it, but I don't feel like putting in the effort of creating a minimal test case, as this GHC hiccup is not causing any failures as far as I know.
With regards to your use of this plugin: you found another plugin? found out you can just write you code another way? of just stopped using GHC.TypeLits.Nat?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/clash-lang/ghc-typelits-natnormalise/issues/2#issuecomment-217793931
@Ericson2314 https://ghc.haskell.org/trac/ghc/ticket/12567
Thanks!
When I rebuild (with cabal), I get lines like
every time. I assume this means there is something non-deterministic going on (or GHC just assumes the worst).