( Abortion(..)
, abort -- MonadIO m => StatusCode -> [ (String, String) ] -> Maybe String -> m a
, abortSTM -- StatusCode -> [ (String, String) ] -> Maybe String -> STM a
- , abortA -- ArrowIO a => StatusCode -> [ (String, String) ] -> Maybe String -> a b c
+ , abortA -- ArrowIO a => a (StatusCode, ([ (String, String) ], Maybe String)) c
, abortPage -- Config -> Maybe Request -> Maybe Response -> Abortion -> String
)
where
= unsafeIOToSTM $ abort status headers msg
-abortA :: ArrowIO a => StatusCode -> [ (String, String) ] -> Maybe String -> a b c
-abortA status headers msg
- = arrIO0 $ abort status headers msg
+abortA :: ArrowIO a => a (StatusCode, ([ (String, String) ], Maybe String)) c
+abortA
+ = arrIO3 abort
-- aboMessage が Just なら單に mkDefaultPage に渡すだけで良いので樂だが、