blob: 9532466c6640b5ec66430040bda8dc66ea20f639 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
tcfail164.hs:11:5:
Bad call to tagToEnum# at type a
Specify the type by giving a type signature
e.g. (tagToEnum# x) :: Bool
In the expression: tagToEnum# 0#
In an equation for ‘f’: f = tagToEnum# 0#
tcfail164.hs:17:34:
Bad call to tagToEnum# at type Int
Result type must be an enumeration type
In the expression: tagToEnum# value#
In an equation for ‘readUnboxable’:
readUnboxable (I# value#) = tagToEnum# value#
In the instance declaration for ‘Unboxable Int’
|