import * as fun from "https://deno.land/x/fun@v2.0.0/examples/natural.ts";
Variables
Now lets define some Natural Transformations. The rule we have to follow is: | |
Functions
Identity can be transformed into any category! |
Interfaces
I Nat | Here is a definition of NaturalTransformation using fun substitution. For a deep understanding the wikipedia article is pretty good: https://en.wikipedia.org/wiki/Natural_transformation |