Bug report initTc: unsolved constraints "ghc.exe: panic! (the 'impossible' happened)"
Was asked to report this bug:
ghc.exe: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-mingw32): initTc: unsolved constraints WC {wc_insol = [W] evalVal_argX :: t_argW[tau:1] (CHoleCan: evalVal) [W] evalComb_arha :: t_arh9[tau:1] (CHoleCan: evalComb)}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Not really sure what the problem is, but it was fixable: basically just removed a random, not filled in function called "highOrderCheck"
in ` where evalEx = (.) flip (flip evalExpr) input = getInputVar vals inExpr (cutInputVal inVar)
highOrderCheck
-- this function removes all previous set values belonging to the function cutInputVal :: [InputVar] -> [InputVar] cutInputVal [] = [] `
so yeah, there ya go I guess?