[inferIxSet and other doc strings wchogg@gmail.com**20090407184051 Ignore-this: 87c547f24cbcc5d8aa5913fb6897e282 ] hunk ./happstack-ixset/src/Happstack/Data/IxSet.hs 166 +{- | Helper function for automatically building an Indexable instance + from a data type, e.g. @data Foo = Foo Int String@ and + @$(inferIxSet "FooDB" ''Foo 'noCalcs [''Int,''String])@ will + build a type synonym @type FooDB = IxSet Foo@ with @Int@ and + @String@ as indexes. +-} hunk ./happstack-server/src/Happstack/Server/HTTP/FileServe.hs 45 - then fmap Just $ readFile loglocation -- fileServe [loglocation] [] "./" + then fmap Just $ readFile loglocation hunk ./happstack-server/src/Happstack/Server/HTTP/FileServe.hs 62 - +-- | A variant of 'doIndex' that relies on 'getFileStrict' hunk ./happstack-server/src/Happstack/Server/HTTP/FileServe.hs 177 - +-- | @getFile mimeMap path@ will lazily read the file as a ByteString +-- with a content type provided by matching the file extension with the +-- @mimeMap@. getFile will return an error string or ((timeFetched,size), (contentType,fileContents)) hunk ./happstack-server/src/Happstack/Server/HTTP/FileServe.hs 195 - +-- | As 'getFile' but strictly fetches the file, instead of lazily. hunk ./happstack/src/Happstack/Server/HSP/HTML.hs 35 +-- | Converts a @HSP XML@ to a Happstack Response. +-- Since @HSP XML@ is the type returned by using literal HTML syntax +-- with HSP, you can wrap up your HTML as webHSP $ ... +-- to use it with Happstack. hunk ./happstack/src/Happstack/Server/HStringTemplate.hs 29 --- renders a name template with attrs +-- | @webST name attrs@ renders a name template with attrs