Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"package.json"
],
"dependencies": {
"purescript-generics": "^4.0.0"
"purescript-generics-rep": "^5.3.0"
}
}
6 changes: 3 additions & 3 deletions src/Data/HTTP/Method.purs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Data.HTTP.Method
import Prelude

import Data.Either (Either(..), either)
import Data.Generic (class Generic)
import Data.Generic.Rep (class Generic)
import Data.String as Str

data Method
Expand Down Expand Up @@ -37,7 +37,7 @@ data Method

derive instance eqMethod :: Eq Method
derive instance ordMethod :: Ord Method
derive instance genericMethod :: Generic Method
derive instance genericMethod :: Generic Method _

instance showMethod :: Show Method where
show OPTIONS = "OPTIONS"
Expand All @@ -64,7 +64,7 @@ unCustomMethod (CustomMethod m) = m

derive instance eqCustomMethod :: Eq CustomMethod
derive instance ordCustomMethod :: Ord CustomMethod
derive instance genericCustomMethod :: Generic CustomMethod
derive instance genericCustomMethod :: Generic CustomMethod _

instance showCustomMethod :: Show CustomMethod where
show (CustomMethod m) = "(CustomMethod " <> show m <> ")"
Expand Down