[Pkg-haskell-commits] [SCM] haskell-testpack branch, master, updated. debian/1.0.2-1-4-gb0d6b36

John Goerzen jgoerzen at complete.org
Fri Apr 23 15:24:13 UTC 2010


The following commit has been merged in the master branch:
commit 4eb58db1cff1e7377cf1640a056a4a1a68ed9e14
Author: John Goerzen <jgoerzen at complete.org>
Date:   Fri Jan 23 11:00:52 2009 -0600

    Removed more MissingH stuff

diff --git a/notes.txt b/notes.txt
deleted file mode 100644
index 833d6de..0000000
--- a/notes.txt
+++ /dev/null
@@ -1,27 +0,0 @@
- basename p = reverse $ takeWhile (/= '/') $ reverse p
-
- dirname p  = case reverse $ dropWhile (/= '/') $ reverse p of
- [] -> "."
- p' -> p'
-
---------------------------------------------------
-
-From: Mark Carroll <mark at ixod.org>
-Date: Sat, 15 Jan 2005 19:17:09 -0500 (EST)
-To: John Goerzen <jgoerzen at complete.org>
-Subject: Re: [Haskell-cafe] Re: Utility functions
-
-You can take the original, or this version, as being Copyright (c) 2004
-Mark Carroll under the modified BSD license. At the time of writing, it's
-the one at http://www.opensource.org/licenses/bsd-license.php
-
-splitListBy :: (a -> Bool) -> [a] -> [[a]]
-
-splitListBy isElement =
-    unfoldr splitter . (ignored :)
-    where
-    splitter [] = Nothing
-    splitter xs = Just (span isElement (tail xs))
-    ignored = error "internal failure in splitListBy"
-
--- Mark

-- 
haskell-testpack



More information about the Pkg-haskell-commits mailing list