    -- |
    -- Module:      Data.Chimera.FromIntegral
    -- Copyright:   (c) 2018 Andrew Lelechenko
    -- Licence:     MIT
    -- Maintainer:  Andrew Lelechenko <andrew.lelechenko@gmail.com>

    {-# OPTIONS_GHC -fno-warn-unused-imports #-}
    {-# OPTIONS_HADDOCK hide #-}

    module Data.Chimera.FromIntegral
      ( word2int
      , int2word
      ) where

    word2int :: Word -> Int
    word2int :: Word -> Int
    word2int = Word -> Int
    forall a b. (Integral a, Num b) => a -> b
    fromIntegral

    int2word :: Int -> Word
    int2word :: Int -> Word
    int2word = Int -> Word
    forall a b. (Integral a, Num b) => a -> b
    fromIntegral