Fix getSuburb doctests
This commit is contained in:
parent
101f79a080
commit
02c93d36d2
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