Created
June 5, 2018 10:58
-
-
Save ccapndave/c4d59bde046f4c2a19b2ea75b5566b77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Page exposing (Page(..)) | |
-- gives me "Module `Page` does not expose `Page` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Page exposing (..) | |
import PageBase | |
type CustomPage | |
= CustomPage1 | |
| CustomPage2 | |
type alias Page = PageBase.Page CustomPage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module PageBase exposing (..) | |
type Page c | |
= Home | |
| Menu | |
| Custom c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment