aboutsummaryrefslogtreecommitdiff
path: root/src/imag.hs
blob: 71c060792292c8d41f6942fdda4d32d0d7b13f39 (plain)
1
2
3
4
5
6
module Imag where

newtype Imag = Imag { getImag :: Float }

instance Show Imag where
    show (Imag i) = show i ++ "i"