Module

Ch6

#Address

data Address

Constructors

Instances

#Directions

#Person

newtype Person

Constructors

Instances

#Ceo

newtype Ceo

Constructors

Instances

#Janitor

newtype Janitor

Constructors

Instances

#Company

data Company

Constructors

Instances

#Residence

#EmptyLot

data EmptyLot

Constructors

Instances

#person

#company

#facility

#getDirections

getDirections :: forall a. HasAddress a => a -> Directions

#Place

#FirstName

newtype FirstName

Constructors

Instances

#LastName

newtype LastName

Constructors

Instances

#fullName'

#glueNames

glueNames :: forall a b. Newtype a String => Newtype b String => String -> a -> b -> String

#lastNameFirst

#fullName''

#Combine

class Combine a  where

Members

Instances

#AddInt

newtype AddInt

Constructors

Instances

#MultInt

newtype MultInt

Constructors

Instances

#IsRecord

class IsRecord a  where

Members

Instances

#Decapitate

class Decapitate collection element  where

Members

Instances

#test

Modules