File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 17
17
" package.json"
18
18
],
19
19
"dependencies" : {
20
- "purescript-generics" : " ^4.0.0"
20
+ "purescript-either" : " #compiler/0.12" ,
21
+ "purescript-strings" : " #compiler/0.12"
21
22
}
22
23
}
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ module Data.HTTP.Method
9
9
import Prelude
10
10
11
11
import Data.Either (Either (..), either )
12
- import Data.Generic (class Generic )
13
12
import Data.String as Str
14
13
15
14
data Method
@@ -37,7 +36,6 @@ data Method
37
36
38
37
derive instance eqMethod :: Eq Method
39
38
derive instance ordMethod :: Ord Method
40
- derive instance genericMethod :: Generic Method
41
39
42
40
instance showMethod :: Show Method where
43
41
show OPTIONS = " OPTIONS"
@@ -64,7 +62,6 @@ unCustomMethod (CustomMethod m) = m
64
62
65
63
derive instance eqCustomMethod :: Eq CustomMethod
66
64
derive instance ordCustomMethod :: Ord CustomMethod
67
- derive instance genericCustomMethod :: Generic CustomMethod
68
65
69
66
instance showCustomMethod :: Show CustomMethod where
70
67
show (CustomMethod m) = " (CustomMethod " <> show m <> " )"
You can’t perform that action at this time.
0 commit comments