bamboo-2010.2.25: A blog engine on Hack
Bamboo.Type.Class
class Show a => Resource a whereSource
Methods
resource_title :: a -> StringSource
resource_type :: a -> StringSource
Instances
class Markable a whereSource
markup :: a -> HtmlSource
class Datable a whereSource
date :: a -> CalendarTimeSource
class Addressable a whereSource
uri :: a -> StringSource
class Gettable a whereSource
get :: String -> IO aSource
class Mappable a whereSource
from_assoc :: Assoc -> IO aSource
class Creatable a whereSource
create :: a -> IO ()Source
class Listable a whereSource
list :: IO [a]Source
list_for :: String -> IO [a]Source
cheat_list :: IO [a]Source
class FlatRead a whereSource
flat_read :: String -> IO aSource