Merge pull request #5 from nkpart/nkpart/getSuburb-doctests
Fix getSuburb doctests
This commit is contained in:
commit
1c82821c15
4 changed files with 8 additions and 8 deletions
|
@ -453,10 +453,10 @@ addressL =
|
|||
|
||||
-- |
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) fred
|
||||
-- >>> getSuburb fred
|
||||
-- "Fredville"
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) mary
|
||||
-- >>> getSuburb mary
|
||||
-- "Maryland"
|
||||
getSuburb ::
|
||||
Person
|
||||
|
|
|
@ -640,10 +640,10 @@ intAndL p (IntAnd n a) =
|
|||
|
||||
-- |
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) fred
|
||||
-- >>> getSuburb fred
|
||||
-- "Fredville"
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) mary
|
||||
-- >>> getSuburb mary
|
||||
-- "Maryland"
|
||||
getSuburb ::
|
||||
Person
|
||||
|
|
|
@ -441,10 +441,10 @@ intAndL =
|
|||
|
||||
-- |
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) fred
|
||||
-- >>> getSuburb fred
|
||||
-- "Fredville"
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) mary
|
||||
-- >>> getSuburb mary
|
||||
-- "Maryland"
|
||||
getSuburb ::
|
||||
Person
|
||||
|
|
|
@ -501,10 +501,10 @@ addressL =
|
|||
|
||||
-- |
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) fred
|
||||
-- >>> getSuburb fred
|
||||
-- "Fredville"
|
||||
--
|
||||
-- >>> get (suburbL |. addressL) mary
|
||||
-- >>> getSuburb mary
|
||||
-- "Maryland"
|
||||
getSuburb ::
|
||||
Person
|
||||
|
|
Loading…
Reference in a new issue