aboutsummaryrefslogtreecommitdiff
path: root/hsm-core/Hsm/Core/Show.hs
blob: 601ea0329acfab47f398866a4a8967ee3e61beb1 (plain)
1
2
3
4
5
6
7
8
9
-- Defines some convenience printing functions
module Hsm.Core.Show
  ( showHex
  ) where

import Numeric qualified as N (showHex)

showHex :: Integral a => a -> String
showHex v = "0x" <> N.showHex v ""