Right now I can't find a way to include tables in custom datatypes, because I can't express the Ix constraint before the end of the type declaration.
Here is the closest I got:
data Permuted n:Type [Ix n] (perm:n=>n) =
MkPermuted n
which gives
MonadFail error (internal error)Invalid class constraint list; expecting one or more bracketed groups
data Permuted n:Type [Ix n] (perm:n=>n) =
^^^^^^^^^^^^
Right now I can't find a way to include tables in custom datatypes, because I can't express the
Ix
constraint before the end of the type declaration.Here is the closest I got:
which gives