diff options
author | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
---|---|---|
committer | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
commit | 84c2ad99582391005b5e873198b15e9e9eb4f78d (patch) | |
tree | caa8c2f2ec7e97fbb4977263c6817c9af5025cf4 /utils/mkUserGuidePart/DList.hs | |
parent | 8ddb47cfcf5776e9a3c55fd37947c8a95e00fa12 (diff) | |
parent | e68b439fe5de61b9a2ca51af472185c62ccb8b46 (diff) | |
download | haskell-wip/T13904.tar.gz |
update to current master againwip/T13904
Diffstat (limited to 'utils/mkUserGuidePart/DList.hs')
-rw-r--r-- | utils/mkUserGuidePart/DList.hs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/utils/mkUserGuidePart/DList.hs b/utils/mkUserGuidePart/DList.hs deleted file mode 100644 index c4b9283e52..0000000000 --- a/utils/mkUserGuidePart/DList.hs +++ /dev/null @@ -1,13 +0,0 @@ -module DList where - -newtype DList a = DList ([a] -> [a]) - -snoc :: DList a -> a -> DList a -DList f `snoc` x = DList (f . (x:)) - -toList :: DList a -> [a] -toList (DList f) = f [] - -instance Monoid (DList a) where - mempty = DList id - DList a `mappend` DList b = DList (a . b) |