In https://book.purescript.org/chapter3.html#notes-on-indentation it says:
Certain PureScript keywords (such as where, of and let) introduce a new block of code, in which declarations must be further-indented:
and then there's this block:
example x y z = foo + bar
where
foo = x * y
bar = y * z
Unless I'm reading this wrong, it's saying that bindings under where must be further indented, which isn't true.
See that chapter's AddressBook.purs, which seems to violate that rule: https://github.com/purescript-contrib/purescript-book/blob/master/exercises/chapter3/src/Data/AddressBook.purs#L62-L69
In https://book.purescript.org/chapter3.html#notes-on-indentation it says:
and then there's this block:
Unless I'm reading this wrong, it's saying that bindings under
wheremust be further indented, which isn't true.See that chapter's AddressBook.purs, which seems to violate that rule: https://github.com/purescript-contrib/purescript-book/blob/master/exercises/chapter3/src/Data/AddressBook.purs#L62-L69