Skip to content

Fail, TypeConcat, & TypeString shouldn't end in kind Symbol #3134

Description

@LiamGoodacre

The TypeConcat and TypeString types aren't really symbols. We should really build up an expression in some error message kind instead. Perhaps:

foreign import kind ErrorMessage
foreign import data Lit :: Symbol -> ErrorMessage
foreign import data TypeConcat :: ErrorMessage -> ErrorMessage -> ErrorMessage
foreign import data TypeString :: Type -> ErrorMessage
class Fail (error :: ErrorMessage)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions