Set x `mappend` Append y = Set (x `mappend` y) Append x `mappend` Append y = Append (x `mappend` y) _ `mappend` Set y = Set yA simple way of summarizing this is, if the right side is Append, then the right is appended to the left. If the right side is Set, then the left side is ignored.
do composeFilter f setFilter g return "Hello World"The setFilter g will cause the first composeFilter f to be ignored.
simpleHTTP validateConf $ ok . setValidator noopValidator =<< htmlPageSee also: validateConf, wdgHTMLValidator, noopValidator, lazyProcValidator.
simpleHTTP validateConf $ setValidatorSP noopValidator (dir "ajax" ... )