isActive variable in "Elm in Action"

Elm in Action, Chaper 8, uses an “inActive” variable which the make command can’t find.

How is this variable supposed to be created?

It appears in
isActive { link = route, page = page }

It’s a function and you’d be guided to write it near viewHeader

Something like

isActive : { link : Page, page : Page } -> Bool

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.