Skip to content

DataKinds and Nat singletons #29

Closed
@acowley

Description

@acowley

If we have {-# LANGUAGE DataKinds #-} we might use Nat literals in types.

foo :: V 8 a
foo = bar

The type here gets a reddish highlight in emacs for me, and gives me a sum-node-start: Wrong type argument: markers, nil message. Similar code in a much larger whole gives shm a lot of trouble.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions