on master help sign in
update import syntax in hints

Fixes https://github.com/elm/elm-lang.org/issues/811

commit1d5eca7ade34531456c06a664309a94b323bfa1f authorEvan Czaplicki <evancz@users.noreply.github.com> dateFri 19 Jul 2019, 13:54 (7 years ago) parent08c956c
1 file changed+6−6
hints/imports.md+6−6
hints/imports.md+6−6
@@ -106,17 +106,17 @@ It would be the best policy to make it so every module in the whole ecosystem wo
106106
107107```elm
108108import Basics exposing (..)
109−import List exposing ( List, (::) )
110−import Maybe exposing ( Maybe( Just, Nothing ) )
111−import Result exposing ( Result( Ok, Err ) )
109+import List exposing (List, (::))
110+import Maybe exposing (Maybe(..))
111+import Result exposing (Result(..))
112112import String
113113import Tuple
114114
115115import Debug
116116
117−import Platform exposing ( Program )
118−import Platform.Cmd as Cmd exposing ( Cmd )
119−import Platform.Sub as Sub exposing ( Sub )
117+import Platform exposing (Program)
118+import Platform.Cmd as Cmd exposing (Cmd)
119+import Platform.Sub as Sub exposing (Sub)
120120```
121121
122122You can think of these imports being at the top of any module you write.