Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.295 kb
{-# LANGUAGE TemplateHaskell #-}
import Data.FileEmbed
import qualified Data.ByteString as B
plainfile :: B.ByteString
plainfile = $(embedFile "sample/bar")
plaindir :: [(FilePath, B.ByteString)]
plaindir = $(embedDir "sample")
main :: IO ()
main = do
print plainfile
print plaindir
Jump to Line
Something went wrong with that request. Please try again.