Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What good is Control.Category?

If I find out that something is a Monoid or Monad, I get all to use all kinds of fun functions, like foldMap, sequence or even mapM. They make me happy.

What do I get if I find out that something is a Category? Do I get anything fun besides overloading id and (.) ?

like image 482
aleator Avatar asked Oct 19 '11 07:10

aleator


People also ask

What are considered strategic goods?

It contains mainly items, equipment, components, software and technology that are specially designed or modified for military use.

What are dual-use goods Singapore?

The List of Dual-Use Goods includes a wide range of goods that are designed for commercial applications, but can have military applications or potentially be used as precursors or components of weapons of mass destruction. A 5-digit alphanumeric code is used for goods and technology in the List of Dual-Use Goods.

What is a dual-use good?

Dual-use items are goods, software and technology that can be used for both civilian and military applications.

What is strategic goods in Singapore?

The Strategic Goods Control List is found in The Schedule to the Strategic Goods (Control) Order 2021. It includes items from the four multilateral export control regimes – Australia Group, Missile Technology Control Regime, Nuclear Suppliers Group and Wassenaar Arrangement.


2 Answers

Do I get anything fun besides overloading id and (.) ?

Well, you also (should) get the laws associated with them:

"identity/left" forall p .
                id . p = p
"identity/right"        forall p .
                p . id = p
"association"   forall p q r .
                (p . q) . r = p . (q . r)

As a side note: The reason that you don't get that many fun functions like mapM or foldMap is, that saying something is a category is actually saying very little about it. The most useful functions I guess are the ones defined in Control.Category, which sometimes make code easier to read: >>> and <<<

like image 156
bzn Avatar answered Sep 24 '22 02:09

bzn


Control.Category is just the ground work for Control.Arrow, and that's where you get the fun functions from.

like image 44
Landei Avatar answered Sep 26 '22 02:09

Landei