Paste server written in Haskell. Fork of Hpaste, fully freedom and privacy respecting and generally improved. At the time of writing there's an instance at <http://paste.rel4tion.org>.
Clone
HTTPS:
git clone https://vervis.peers.community/repos/aoqmo
SSH:
git clone USERNAME@vervis.peers.community:aoqmo
Branches
Tags
Channel.hs
{-# OPTIONS -Wall #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
-- | Channel model.
module Hpaste.Model.Channel
(getChannels)
where
import Hpaste.Types
import Snap.App
-- | Get the channels.
getChannels :: Model c s [Channel]
getChannels =
queryNoParams ["SELECT *"
,"FROM channel"
,"ORDER by title"]
|