Skip to content

Commit

Permalink
mintercalate
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Oct 16, 2012
1 parent 82ab08d commit 7636281
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Application.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ import Database
import Records
#include "PathHelpers.hs"

-- https://github.com/snoyberg/basic-prelude/issues/23
intercalate :: (Monoid w) => w -> [w] -> w
intercalate xs xss = mconcat (intersperse xs xss)

type ApplicationEitherIO = Request -> ResourceT EitherIO Response

htmlEscape :: String -> String
Expand Down

0 comments on commit 7636281

Please sign in to comment.