WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.

WASH.Utility.RFC2397

Synopsis

Documentation

data ENC Source

Constructors

BASE64 
URL 

Instances

encode :: (String, String) -> StringSource

maps (mediatype, contents) to data URL

decode :: String -> Maybe (String, String)Source

maps data URL to Just (mediatype, contents) or Nothing in case of a syntax error.

breakList :: (x -> Bool) -> [x] -> [[x]]Source