I tried the some code in the repl and go the following exception
elm: Used toErrorType on a type that is not well-formed
CallStack (from HasCallStack):
error, called at compiler/src/Type/Type.hs:541:21 in main:Type.Type
SSCCE
Type the following code in your repl
> type alias Article a = { a | title : String, tags : List String }
> type Preview = Article { id : Int }
> id : Article Preview -> Int
| id p =
| p.id
|
Quick Summary:
I tried the some code in the
repl
and go the following exceptionSSCCE
Type the following code in your repl
Additional Details
None