Skip to content

Commit

Permalink
Make the imports in the prelude consistent
Browse files Browse the repository at this point in the history
Some had spaces around the imported type, some don't.
This makes the imports consistent, by removing the spaces in the ones
that had them.
  • Loading branch information
jfmengels committed Jun 14, 2020
1 parent 22eefd2 commit d1f7e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import Tuple

import Debug

import Platform exposing ( Program )
import Platform.Cmd as Cmd exposing ( Cmd )
import Platform.Sub as Sub exposing ( Sub )
import Platform exposing (Program)
import Platform.Cmd as Cmd exposing (Cmd)
import Platform.Sub as Sub exposing (Sub)
```

The intention is to include things that are both extremely useful and very unlikely to overlap with anything that anyone will ever write in a library. By keeping the set of default imports relatively small, it also becomes easier to use whatever version of `map` suits your fancy. Finally, it makes it easier to figure out where the heck a function is coming from.

0 comments on commit d1f7e13

Please sign in to comment.