Skip to content

Commit

Permalink
Renamed argument to avoid shadowing warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jan 10, 2009
1 parent 195e12d commit 48a5182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gitit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ defaultRespOptions :: WriterOptions
defaultRespOptions = defaultWriterOptions { writerStandalone = True, writerWrapText = True }

responseAndEncodeWithTypeAndName :: String -> String -> String -> Web Response
responseAndEncodeWithTypeAndName typ name = ok . setContentType typ . setFilename name . toResponse . encodeString
responseAndEncodeWithTypeAndName typ name' = ok . setContentType typ . setFilename name' . toResponse . encodeString


respondLaTeX :: String -> Pandoc -> Web Response
Expand Down

0 comments on commit 48a5182

Please sign in to comment.