📜  haskell 半群定义 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:34.954000             🧑  作者: Mango

代码示例1
class Semigroup a where
  (<>) :: a -> a -> a
  GHC.Base.sconcat :: GHC.Base.NonEmpty a -> a
  GHC.Base.stimes :: Integral b => b -> a -> a
  {-# MINIMAL (<>) #-}