Merge pull request #5 from nkpart/nkpart/getSuburb-doctests

Fix getSuburb doctests
This commit is contained in:
Tony Morris 2015-07-28 21:36:11 +10:00
commit 1c82821c15
4 changed files with 8 additions and 8 deletions

View file

@ -453,10 +453,10 @@ addressL =
-- | -- |
-- --
-- >>> get (suburbL |. addressL) fred -- >>> getSuburb fred
-- "Fredville" -- "Fredville"
-- --
-- >>> get (suburbL |. addressL) mary -- >>> getSuburb mary
-- "Maryland" -- "Maryland"
getSuburb :: getSuburb ::
Person Person

View file

@ -640,10 +640,10 @@ intAndL p (IntAnd n a) =
-- | -- |
-- --
-- >>> get (suburbL |. addressL) fred -- >>> getSuburb fred
-- "Fredville" -- "Fredville"
-- --
-- >>> get (suburbL |. addressL) mary -- >>> getSuburb mary
-- "Maryland" -- "Maryland"
getSuburb :: getSuburb ::
Person Person

View file

@ -441,10 +441,10 @@ intAndL =
-- | -- |
-- --
-- >>> get (suburbL |. addressL) fred -- >>> getSuburb fred
-- "Fredville" -- "Fredville"
-- --
-- >>> get (suburbL |. addressL) mary -- >>> getSuburb mary
-- "Maryland" -- "Maryland"
getSuburb :: getSuburb ::
Person Person

View file

@ -501,10 +501,10 @@ addressL =
-- | -- |
-- --
-- >>> get (suburbL |. addressL) fred -- >>> getSuburb fred
-- "Fredville" -- "Fredville"
-- --
-- >>> get (suburbL |. addressL) mary -- >>> getSuburb mary
-- "Maryland" -- "Maryland"
getSuburb :: getSuburb ::
Person Person