[web-devel] [Yesod] What is ContentFile's second argument?
michael at snoyman.com
Thu Jun 2 10:29:13 CEST 2011
Sorry, that should be more well documented. "Nothing" means send the
whole file, "Just ..." will specify a piece of the file to send.
On Thu, Jun 2, 2011 at 11:27 AM, Katsutoshi Itoh <cutsea110 at gmail.com> wrote:
> Now, I'm converting my yesod app 0.7 to 0.8
> I'm facing to the code like this.
> return $ RepHtml $ ContentFile path
> I looked up ContentFile has 2 arguments, on 0.8.
> the second argument of this is Maybe FilePart.
> If I write this Nothing, what does it mean?
> web-devel mailing list
> web-devel at haskell.org
More information about the web-devel