Skip to content

Commit 8b03a19

Browse files
committed
removed elm-tagged
example not changed! .. the beauty of opaque types :)
1 parent 528593d commit 8b03a19

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea/
22
elm-stuff/
33
elm-css-grid.iml
4+
node_modules/

elm-format.exe

7.74 MB
Binary file not shown.

elm.exe

50.6 MB
Binary file not shown.

elm.json

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"elm/browser": "1.0.1",
1111
"elm/core": "1.0.2",
1212
"elm/html": "1.0.0",
13-
"joneshf/elm-tagged": "2.1.1",
1413
"rtfeldman/elm-css": "16.0.1",
1514
"tortus/elm-array-2d": "2.1.2"
1615
},

src/Grid.elm

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@ import Css exposing (Style, property, px)
55
import Css.Media as Media exposing (MediaQuery, only, screen, withMedia)
66
import Html.Styled exposing (Attribute, Html, div)
77
import Html.Styled.Attributes exposing (css)
8-
import Tagged exposing (Tagged(..))
98

109

11-
type GridArea
12-
= GridArea
10+
type GridArea a
11+
= GridArea String
1312

1413

1514
type alias Area =
16-
Tagged GridArea String
15+
GridArea String
1716

1817

1918
gridArea : String -> Area
2019
gridArea name =
21-
Tagged name
20+
GridArea name
2221

2322
-- TODO
2423
type alias RowSize = String

0 commit comments

Comments
 (0)