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

15 lines (12 sloc) 0.285 kb
> {-# LANGUAGE OverloadedStrings #-}
> module Part2 where
> import Snap.Snaplet
> data Foo = Foo
>
> data Bar = Bar
>
> fooInit = makeSnaplet "foo" "Foo snaplet" Nothing $ do
> return Foo
>
> barInit h = makeSnaplet "bar" "Bar snaplet" Nothing $ do
> return Bar
Jump to Line
Something went wrong with that request. Please try again.