从我读到的一篇博文
-- | Newtype for disabling logging
newtype NoLoggingT m a
= NoLoggingT { runNoLoggingT :: m a }
deriving newtype (Functor, Applicative, Monad)
deriving (MonadTrans) via IdentityT
instance Monad m => MonadLog (NoLoggingT m) where logLn _ _ = pure ()
那是什么deriving newtype
语法?它是哪个扩展名,它有什么作用?请在 anwser 中提供指向其文档的链接。