Hi,
given the following code
--Extern.purs
module Gonzales.Extern where
import Prelude
import Data.Function
type ParseConfig = { syntax :: String }
data Content = SContent String | AContent Array NativeTree
data Position = Position Number Number
newtype NativePosition = NativePosition { line :: Number, column :: Number }
newtype NativeTree = NativeTree { type :: String, content :: Content, start :: NativePosition }
when compiling I get this error
psc 'src/**/*.purs' 'bower_components/*/src/**/*.purs' --ffi 'src/**/*.js' --ffi 'bower_components/*/src/**/*.js'
Compiling Gonzales.Extern
Error:
Error in module Gonzales.Extern:
Error in data binding group:
Error at ./test01/src/Gonzales/Extern.purs line 3, column 1 - line 4, column 1:
Cannot unify kind
* -> *
with kind
*
This worked without any problem in 0.6.9.5.
What is the compiler trying to tell me.
Best regards
Robert