ham-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Ham.Data

Synopsis

Documentation

data RST Source #

RST report.

Constructors

RST Int Int Int

Readability, signal strength, tone.

RS Int Int

Readability, signal strength

NoRST 
Instances
Eq RST Source # 
Instance details

Defined in Ham.Internal.Data

Methods

(==) :: RST -> RST -> Bool #

(/=) :: RST -> RST -> Bool #

Ord RST Source # 
Instance details

Defined in Ham.Internal.Data

Methods

compare :: RST -> RST -> Ordering #

(<) :: RST -> RST -> Bool #

(<=) :: RST -> RST -> Bool #

(>) :: RST -> RST -> Bool #

(>=) :: RST -> RST -> Bool #

max :: RST -> RST -> RST #

min :: RST -> RST -> RST #

Read RST Source # 
Instance details

Defined in Ham.Internal.Data

Show RST Source # 
Instance details

Defined in Ham.Internal.Data

Methods

showsPrec :: Int -> RST -> ShowS #

show :: RST -> String #

showList :: [RST] -> ShowS #

ToJSON RST Source # 
Instance details

Defined in Ham.Internal.Data

FromJSON RST Source # 
Instance details

Defined in Ham.Internal.Data

wavelength :: Frequency -> Float Source #

Wavelength in metres.

data Band Source #

Constructors

M Float

Band in metres

Microwave

Anything 15% shorter than about 23cm.

Instances
Eq Band Source # 
Instance details

Defined in Ham.Internal.Data

Methods

(==) :: Band -> Band -> Bool #

(/=) :: Band -> Band -> Bool #

Show Band Source # 
Instance details

Defined in Ham.Internal.Data

Methods

showsPrec :: Int -> Band -> ShowS #

show :: Band -> String #

showList :: [Band] -> ShowS #

band :: Frequency -> Band Source #

Find canonical band name for frequency.

data QsoMode Source #

Modes for a QSO. TODO: This is following Cabrillo; this should go into the Cabrillo module and this type here should have many more entries.

Constructors

CW

Morse code.

PH

Voice.

FM

FM voice.

RY

RTTY or other teletype mode.

DATA 
Instances
Eq QsoMode Source # 
Instance details

Defined in Ham.Internal.Data

Methods

(==) :: QsoMode -> QsoMode -> Bool #

(/=) :: QsoMode -> QsoMode -> Bool #

Read QsoMode Source # 
Instance details

Defined in Ham.Internal.Data

Show QsoMode Source # 
Instance details

Defined in Ham.Internal.Data

ToJSON QsoMode Source # 
Instance details

Defined in Ham.Internal.Data

FromJSON QsoMode Source # 
Instance details

Defined in Ham.Internal.Data