Skip to content

Commit 9ae8ee2

Browse files
committed
Add ShowX instance for CUShort.
1 parent ec016d4 commit 9ae8ee2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ADDED: Add `Clash.XException.ShowX` instance for `Foreign.C.Types.CUShort`.

clash-prelude/src/Clash/XException.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,9 @@ instance ShowX Word32 where
440440
instance ShowX Word64 where
441441
showsPrecX = showsPrecXWith showsPrec
442442

443+
instance ShowX CUShort where
444+
showsPrecX = showsPrecXWith showsPrec
445+
443446
instance ShowX a => ShowX (Maybe a)
444447

445448
instance ShowX a => ShowX (Ratio a) where

0 commit comments

Comments
 (0)