| 1 | GHCi, version 7.6.1: http://www.haskell.org/ghc/ :? for help |
|---|
| 2 | Loading package ghc-prim ... linking ... done. |
|---|
| 3 | Loading package integer-gmp ... linking ... done. |
|---|
| 4 | Loading package base ... linking ... done. |
|---|
| 5 | [1 of 1] Compiling Main ( bug.hs, interpreted ) |
|---|
| 6 | |
|---|
| 7 | bug.hs:8:14: |
|---|
| 8 | Couldn't match kind `* -> *' with `*' |
|---|
| 9 | Expected type: Ptr Int -> Int -> ContT Bool IO Integer |
|---|
| 10 | Actual type: Ptr Int -> Int -> ContT Bool IO Integer |
|---|
| 11 | Kind incompatibility when matching types: |
|---|
| 12 | Ptr Int :: * -> * |
|---|
| 13 | Ptr Int :: * |
|---|
| 14 | The function `lift'ghc: panic! (the 'impossible' happened) |
|---|
| 15 | (GHC version 7.6.1 for x86_64-unknown-linux): |
|---|
| 16 | kindFunResult |
|---|
| 17 | <<details unavailable>> |
|---|
| 18 | |
|---|
| 19 | Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug |
|---|
| 20 | |
|---|
| 21 | Leaving GHCi. |
|---|