Guest User

Untitled

a guest
Dec 12th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. frontend/src/Frontend.hs:38:39: error:
  2. • Couldn't match type ‘()’
  3. with ‘Data.Dependent.Sum.DSum
  4. FrontendRoute Data.Functor.Identity.Identity’
  5. arising from a functional dependency between:
  6. constraint ‘Routed t (R FrontendRoute) (RoutedT t () m)’
  7. arising from a use of ‘page’
  8. instance ‘Routed t1 r (RoutedT t1 r m1)’ at <no location info>
  9. • In the expression: page contactsIndex
  10. In a case alternative: FrontendRoute_Contacts -> page contactsIndex
  11. In the expression:
  12. case r of
  13. FrontendRoute_Buildings -> maybeRoute_ notFound buildings
  14. FrontendRoute_Contacts -> page contactsIndex
  15. |
  16. 38 | FrontendRoute_Contacts -> page contactsIndex
  17. | ^^^^^^^^^^^^^^^^^^
  18. frontend/src/Frontend.hs:44:31: error:
  19. • Couldn't match type ‘()’
  20. with ‘Data.Dependent.Sum.DSum
  21. FrontendRoute Data.Functor.Identity.Identity’
  22. arising from a functional dependency between:
  23. constraint ‘Routed t (R FrontendRoute) (RoutedT t () m)’
  24. arising from a use of ‘page’
  25. instance ‘Routed t1 r (RoutedT t1 r m1)’ at <no location info>
  26. • In the expression: page buildingsIndex
  27. In a case alternative: Building_Index -> page buildingsIndex
  28. In the expression:
  29. case r of { Building_Index -> page buildingsIndex }
  30. |
  31. 44 | Building_Index -> page buildingsIndex
  32. | ^^^^^^^^^^^^^^^^^^^
Add Comment
Please, Sign In to add comment