하스켈 학습 노트: Exception, Except, ExceptT Monad 변환기

Exception 클래스 class (Typeable e, Show e) => Exception e where toException :: e -> SomeException fromException :: SomeException -> Maybe e toException = SomeException fromException (SomeException e) = cast e displayException :: e -> String displayException = show instance Exception SomeException where ...

7월 1일 20:52에 게시됨