From e1810a1318da49db2e25cdcc478b41dbe938928f Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Sun, 29 Sep 2013 07:51:08 +0400 Subject: Add module header --- src/Data/BEncode/BDict.hs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Data/BEncode/BDict.hs b/src/Data/BEncode/BDict.hs index 3bfcd77..2884851 100644 --- a/src/Data/BEncode/BDict.hs +++ b/src/Data/BEncode/BDict.hs @@ -1,3 +1,13 @@ +-- | +-- Copyright : (c) Sam Truzjan 2013 +-- License : BSD3 +-- Maintainer : pxqr.sta@gmail.com +-- Stability : stable +-- Portability : portable +-- +-- This module defines a simple key value list which both faster and +-- more suitable for bencode dictionaries. +-- module Data.BEncode.BDict ( BKey , BDictMap (..) @@ -101,4 +111,4 @@ fromAscList ((k, v) : xs) = Cons k v (fromAscList xs) toAscList :: BDictMap a -> [(BKey, a)] toAscList Nil = [] -toAscList (Cons k v xs) = (k, v) : toAscList xs \ No newline at end of file +toAscList (Cons k v xs) = (k, v) : toAscList xs -- cgit v1.2.3