aboutsummaryrefslogtreecommitdiff
path: root/lib/Language/Elna/Location.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Language/Elna/Location.hs')
-rw-r--r--lib/Language/Elna/Location.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Language/Elna/Location.hs b/lib/Language/Elna/Location.hs
index 918ef46..875aa8d 100644
--- a/lib/Language/Elna/Location.hs
+++ b/lib/Language/Elna/Location.hs
@@ -53,6 +53,6 @@ instance Hashable Identifier
where
hashWithSalt salt (Identifier identifier) = hashWithSalt salt identifier
-showArrayType :: Show a => Word32 -> a -> String
+showArrayType :: (Show a, Show b) => a -> b -> String
showArrayType elementCount typeName = concat
["array[", show elementCount, "] of ", show typeName]