File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 21
21
" tests"
22
22
],
23
23
"dependencies" : {
24
- "purescript-generics" : " ^3.1 .0" ,
25
- "purescript-nonempty" : " ^3 .0.0" ,
26
- "purescript-profunctor" : " ^2 .0.0" ,
27
- "purescript-strings" : " ^2 .0.2 " ,
28
- "purescript-these" : " ^2 .0.0" ,
29
- "purescript-transformers" : " ^2.0.1 " ,
30
- "purescript-colors" : " ^2 .0.0" ,
31
- "purescript-console" : " ^2 .0.0"
24
+ "purescript-generics" : " ^4.0 .0" ,
25
+ "purescript-nonempty" : " ^4 .0.0" ,
26
+ "purescript-profunctor" : " ^3 .0.0" ,
27
+ "purescript-strings" : " ^3 .0.0 " ,
28
+ "purescript-these" : " ^3 .0.0" ,
29
+ "purescript-transformers" : " ^3. 2.0" ,
30
+ "purescript-colors" : " ^3 .0.0" ,
31
+ "purescript-console" : " ^3 .0.0"
32
32
},
33
33
"devDependencies" : {
34
- "purescript-exceptions" : " ^2 .0.0"
34
+ "purescript-exceptions" : " ^3 .0.0"
35
35
}
36
36
}
Original file line number Diff line number Diff line change 6
6
"test" : " pulp test"
7
7
},
8
8
"devDependencies" : {
9
- "pulp" : " ^9 .0.1 " ,
10
- "purescript-psa" : " ^0.3.9 " ,
11
- "purescript" : " ^0.10.1 " ,
12
- "rimraf" : " ^2.5.0 "
9
+ "pulp" : " ^11 .0.0 " ,
10
+ "purescript-psa" : " ^0.5.1 " ,
11
+ "purescript" : " ^0.11.4 " ,
12
+ "rimraf" : " ^2.6.1 "
13
13
}
14
14
}
Original file line number Diff line number Diff line change @@ -73,5 +73,5 @@ browsers = Prefixed
73
73
74
74
-- | Syntax for CSS function call.
75
75
76
- call :: forall s . ( IsString s , Monoid s ) => s -> s -> s
76
+ call :: forall s . IsString s => Monoid s => s -> s -> s
77
77
call fn arg = fn <> fromString " (" <> arg <> fromString " )"
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ nestedNodesWithEmptyParent = render do
48
48
fromString " #parent" ? do
49
49
fromString " #child" ? display block
50
50
51
- assertEqual :: forall a . ( Eq a , Show a ) => a -> a -> Eff (err :: EXCEPTION ) Unit
51
+ assertEqual :: forall a . Eq a => Show a => a -> a -> Eff (exception :: EXCEPTION ) Unit
52
52
assertEqual x y = unless (x == y) <<< throwException <<< error $ " Assertion failed: " <> show x <> " /= " <> show y
53
53
54
- main :: Eff (err :: EXCEPTION ) Unit
54
+ main :: Eff (exception :: EXCEPTION ) Unit
55
55
main = do
56
56
renderedInline example1 `assertEqual` Just " color: hsl(0.0, 100.0%, 50.0%); display: block"
57
57
renderedInline example2 `assertEqual` Just " display: inline-block"
You can’t perform that action at this time.
0 commit comments