@@ -64,10 +64,14 @@ data CombinedRenderable a b = CombinedRenderable a b
6464-- | Combine two renderables. The url will always be taken from the first
6565-- "Renderable". Also, if a `$key` is present in both renderables, the
6666-- value from the first "Renderable" will be taken as well.
67+--
68+-- Since renderables are always more or less key-value maps, you can see
69+-- this as a @union@ between two maps.
6770combine :: (Renderable a, Renderable b) => a -> b -> CombinedRenderable a b
6871combine = CombinedRenderable
6972
70−-- | Combine two renderables and set a custom URL.
73+-- | Combine two renderables and set a custom URL. This behaves like "combine",
74+-- except that for the @url@ field, the given URL is always chosen.
7175combineWithURL :: (Renderable a, Renderable b)
7276 => FilePath
7377 -> a
@@ -75,7 +79,7 @@ combineWithURL :: (Renderable a, Renderable b)
7579 -> CombinedRenderable a b
7680combineWithURL = CombinedRenderableWithURL
7781
78−-- | Render combinations.
82+-- Render combinations.
7983instance (Renderable a, Renderable b)
8084 => Renderable (CombinedRenderable a b) where
8185