Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 23f700c18c
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (7 sloc) 0.209 kb
{-# LANGUAGE OverloadedStrings #-}
import Data.Conduit
import Data.Conduit.Network
main :: IO ()
main = runTCPServer (ServerSettings 3001 "127.0.0.1") echo
echo :: Application IO
echo src sink = src $$ sink
Jump to Line
Something went wrong with that request. Please try again.