Introduce a type class 'Dispatcher' and make ResTree/FallbackHandler instances of it.

« Lucu project page

And the dispatcher data type should form a Monoid.

Details

Id: e0312227f40a0fa92d4c5d69a64dad473f54389a
Type: task
Creation time: 2011-10-17 02:46 UTC
Creator: PHO <pho@...>
Release: Lucu-1.0 (unreleased)
Component: Lucu
Status: closed: fixed fixed

Commits for this issue

2011-11-30 15:51 UTC PHO <pho@...> hlint [950640d]
2011-11-30 15:47 UTC PHO <pho@...> docs [fffa098]
2011-11-30 14:00 UTC PHO <pho@...> docs [060378a]
2011-11-29 14:52 UTC PHO <pho@...> docs [251831f]
2011-11-29 12:39 UTC PHO <pho@...> It must be a bad idea to expose overlapped orphan instances. [b7d905b]
2011-11-26 06:15 UTC PHO <pho@...> examples [9be2b94]
2011-11-26 04:14 UTC PHO <pho@...> HelloWorld works again. [3baf479]
2011-11-26 02:30 UTC PHO <pho@...> Scrap SchemeMapper [57b93dc]
2011-11-24 14:30 UTC PHO <pho@...> docs [b42b4ab]
2011-11-24 12:33 UTC PHO <pho@...> Simplify the implementation of ResourceTree [e30ad42]
2011-11-24 08:16 UTC PHO <pho@...> Collection ResourceTree [ff68f4a]
2011-11-23 15:06 UTC PHO <pho@...> docs [01fe22b]
2011-11-23 14:34 UTC PHO <pho@...> Foldable ResourceNode [761b90a]
2011-11-23 13:32 UTC PHO <pho@...> Still working on Dispatcher... [dc20568]
2011-11-23 12:46 UTC PHO <pho@...> It (at least) builds now... [667baf9]
2011-11-22 02:04 UTC PHO <pho@...> Unfoldable Dispatcher [b22e702]
2011-11-21 12:57 UTC PHO <pho@...> Rename: Resource --> Rsrc; ResourceDef --> Resource [1ead053]
2011-11-21 10:08 UTC PHO <pho@...> Make use of auto-derivers [545053d]
2011-11-21 09:13 UTC PHO <pho@...> auto-derive Set [f7fdfa7]
2011-11-21 03:52 UTC PHO <pho@...> auto-derive Map [b2da459]
2011-11-19 09:40 UTC PHO <pho@...> auto-derive SortingCollection [68afccf]
2011-11-19 06:31 UTC PHO <pho@...> auto-derive Collection / Indexed [852d97c]
2011-11-17 16:11 UTC PHO <pho@...> auto-derive Foldable [b8d4661]
2011-11-17 10:09 UTC PHO <pho@...> Automatic deriving of Unfoldable [8dc2ddc]
2011-11-16 16:35 UTC PHO <pho@...> Fixed lots of bugs [6df5f92]
2011-11-15 07:33 UTC PHO <pho@...> MIMEParams is now an instance of collections-api's type classes. [bb121f1]
2011-11-14 16:37 UTC PHO <pho@...> Rewrite.Imports is now instance of collection-api's type classes. [19763f7]
2011-11-14 15:41 UTC PHO <pho@...> Headers is now instances of collections-api's type classes. [09fe542]
2011-11-14 14:15 UTC PHO <pho@...> cabal [fd36591]
2011-11-14 06:11 UTC PHO <pho@...> docs [619b606]
2011-11-14 05:55 UTC PHO <pho@...> () should be an instance of Dispatchable. [6cc54cc]
2011-11-14 05:47 UTC PHO <pho@...> rename: findResource => dispatch [7e51c30]
2011-11-14 05:45 UTC PHO <pho@...> Eliminate some of Dispatchable instances. [850ea02]
2011-11-14 05:38 UTC PHO <pho@...> new module: Resource.Dispatcher [24d6b6e]

Issue log

2011-11-30 15:57 UTC PHO <pho@...> closed with disposition fixed
Done!
2011-11-14 02:29 UTC PHO <pho@...> changed status from unstarted to in_progress
2011-10-17 02:51 UTC PHO <pho@...> commented
FallbackHandler should be either a non-pure function (MonadIO) or a pure function returning Maybe ResourceDef.
2011-10-17 02:48 UTC PHO <pho@...> commented
We should implement name-based virtualhosts at the same time.
2011-10-17 02:46 UTC PHO <pho@...> created