Skip to content

Commit ea60b62

Browse files
committed
Polyproxy
1 parent 0ca69df commit ea60b62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

generated-docs/md/Apiary.Status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ _maintenanceInProgress :: SProxy "maintenanceInProgress"
155155

156156
``` purescript
157157
class ResponseStatus (status :: Symbol) where
158-
toStatus :: SProxy status -> Status
158+
toStatus :: forall proxy. proxy status -> Status
159159
```
160160

161161
##### Instances

src/Apiary/Status.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ maintenanceInProgress = status 520 "Maintenance In Progress"
7474
_maintenanceInProgress = SProxy :: SProxy "maintenanceInProgress"
7575

7676
class ResponseStatus (status :: Symbol) where
77-
toStatus :: SProxy status -> Status
77+
toStatus :: forall proxy. proxy status -> Status
7878

7979
instance responseStatusOK :: ResponseStatus "ok" where
8080
toStatus _ = ok

0 commit comments

Comments
 (0)