What are some types that discriminate between categories?

后端 未结 2 628
情深已故
情深已故 2021-02-08 01:24

I\'m still getting familiar with all this category theory stuff, and just about every example I see is with a Maybe or an Array. But I haven\'t found any examples that discrimin

2条回答
  •  醉话见心
    2021-02-08 02:27

    Non-empty lists, defined as data NEList a = Cons a [a] are semigroups but not monoids.

提交回复
热议问题