
19 Mar
2010
19 Mar
'10
5:43 p.m.
On Fri, Mar 19, 2010 at 4:42 PM, Jeremy Shaw
Right. I already have a similar datatype in URLT.HandleT. My type also includes a 'defaultPage' type which can be used to specify what value "/" should be mapped to. Though, in mine, the dispatch / handleLink function is based on URLT, but that can probably be generalized. As a bonus you also get a Functor instance, and a runSite function that uses the type..
Actually, you already supply handleWebPlug, so the only real bonus is the Functor instance.. which is only there because it is based on URLT. - jeremy