Skip to content

Instantly share code, notes, and snippets.

@Natim
Created June 4, 2018 07:58

Revisions

  1. Natim created this gist Jun 4, 2018.
    20 changes: 20 additions & 0 deletions Types.elm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    type alias Page =
    { name : String
    , url : String
    , created_at : Date
    , title : String
    , description : String
    , url : String
    }


    type alias Country =
    { name : String
    , pages : List Page
    }


    type alias Model =
    { countries : List Country
    , currentTime : Time
    }