X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=advanced_topics%2Fmonads_in_category_theory.mdwn;h=588d1a30f237dcad0f82b0a26d875af84b9459da;hp=d5c55d65447e6c4890d112a5510f59965a25e349;hb=c0a6070f7c11da38419b5e5da90afeddc6520b95;hpb=37c4d3dde1f5d08f4913080b1e232248469d0077 diff --git a/advanced_topics/monads_in_category_theory.mdwn b/advanced_topics/monads_in_category_theory.mdwn index d5c55d65..588d1a30 100644 --- a/advanced_topics/monads_in_category_theory.mdwn +++ b/advanced_topics/monads_in_category_theory.mdwn @@ -255,11 +255,26 @@ Similarly, if ρ is a natural transformation from `1C` to `MR'`, where as we said γ is a natural transformation from `G` to some `MR'G`. +Summarizing then, the monad laws can be expressed as: +
+	For all ρ, γ, φ in T for which ρ <=< γ and γ <=< φ are defined:
+
+	    (i) γ <=< φ etc are also in T
 
+	   (ii) (ρ <=< γ) <=< φ  =  ρ <=< (γ <=< φ)
 
-The standard category-theory presentation of the monad laws
------------------------------------------------------------
+	(iii.1) (unit G') <=< γ  =  γ
+	        when γ is a natural transformation from some FG' to MG'
+
+	(iii.2)                     γ  =  γ <=< (unit G)
+	        when γ is a natural transformation from G to some MR'G
+
+ + + +Getting to the standard category-theory presentation of the monad laws +---------------------------------------------------------------------- In category theory, the monad laws are usually stated in terms of `unit` and `join` instead of `unit` and `<=<`.