OneTuple 0.1.0 → 0.1.1
raw patch · 4 files changed
+11/−9 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CONTRIBUTORS +6/−0
- Data/Tuple/OneTuple.hs +2/−1
- FAQ +0/−5
- OneTuple.cabal +3/−3
+ CONTRIBUTORS view
@@ -0,0 +1,6 @@+All of the following have contributed code to the project. Thanks for+your help!++John Dorsey -- initial version+Luke Palmer -- corrected instance Traversable+
Data/Tuple/OneTuple.hs view
@@ -53,7 +53,8 @@ foldr1 _f (OneTuple x) = x foldl1 _f (OneTuple x) = x -instance Traversable OneTuple+instance Traversable OneTuple where+ sequenceA (OneTuple x) = fmap OneTuple x instance Functor OneTuple where fmap f (OneTuple x) = OneTuple (f x)
FAQ view
@@ -20,8 +20,3 @@ component type! A 4. Yes, that's true, up to laziness. -Q 5. What's NST?-A 5. "Need Singleton Tuple". It's the class of problems that can't- be solved without using a singleton tuple. Also conveniently- stands for "No Such Thing".-
OneTuple.cabal view
@@ -1,7 +1,7 @@ Name: OneTuple-Version: 0.1.0-Synopsis: OneTuple, the Singleton Tuple-Description: OneTuple, the Singleton Tuple+Version: 0.1.1+Synopsis: Singleton Tuple+Description: Singleton Tuple Copyright: (c) John Dorsey 2008 License: BSD3 License-file: LICENSE