We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52167b8 commit abf3fb9Copy full SHA for abf3fb9
lib/route/src/Obelisk/Route.hs
@@ -1121,12 +1121,12 @@ instance FiniteSome Void1
1121
1122
void1Encoder :: (Applicative check, MonadError Text parse) => Encoder check parse (Some Void1) a
1123
void1Encoder = Encoder $ pure $ EncoderImpl
1124
- { _encoderImpl_encode = foldSome $ \case
+ { _encoderImpl_encode = foldSome $ case f of {}
1125
, _encoderImpl_decode = \_ -> throwError "void1Encoder: can't decode anything"
1126
}
1127
1128
instance GShow Void1 where
1129
- gshowsPrec _ = \case {}
+ gshowsPrec _ f = case f of {}
1130
1131
-- | Encode a 'PathQuery' as 'Text'
1132
pathQueryEncoder :: (Applicative check, Applicative parse) => Encoder check parse PathQuery Text
0 commit comments