Skip to content

Instantly share code, notes, and snippets.

View specdrake's full-sized avatar

Anurag Hooda specdrake

View GitHub Profile
module Phone where
import Data.List
import Data.Char
data DaPhone = Lower (Digit, String) deriving (Eq, Show)
but1 :: DaPhone
but1 = Lower ('1', "1")
but2 :: DaPhone
but2 = Lower ('2', "abc2")
but3 :: DaPhone