diff --git a/Help/hmt.help.lhs b/Help/hmt.help.lhs
--- a/Help/hmt.help.lhs
+++ b/Help/hmt.help.lhs
@@ -5,17 +5,23 @@
 
 > tn 4 [1,5,6]
 
+> sro (rnrtnmi "T4") (pco "156")
+
 $ sro T4I 156
 3BA
 
 > tni 4 [1,5,6]
 
+> sro (rnrtnmi "T4I") (pco "156")
+
 $ echo 156 | sro T4  | sro T0I
 732
 
 > let f n = invert 0 . tn n
 > in f 4 [1,5,6]
 
+> (sro (rnrtnmi "T0I") . sro (rnrtnmi "T4")) (pco "156")
+
 $ pcom pcseg iseg 01549 | pcom iseg icseg | pcom icseg icset
 145
 
@@ -39,6 +45,8 @@
 
 > bip [0,10,9,5,7,2,8,11,3,4,1,6]
 
+> bip (pco "0t95728e3416")
+
 $ pg 5-Z17 | bip | sort -u > 5-Z17.bip ; \
   pg 5-Z37 | bip | sort -u > 5-Z37.bip ; \
   comm 5-Z17.bip 5-Z37.bip -1 -2 | wc -l
@@ -47,6 +55,9 @@
 
 > import Data.List
 
+> let f g = sort (g [1..4])
+> in f Music.Theory.Permutations.permutations == f permutations
+
 > let f = nub . map bip . permutations . sc
 > in f "5-Z17" `intersect` f "5-Z37"
 
@@ -78,6 +89,8 @@
 ...
 $
 
+> import Data.Maybe
+
 > let { n = 4
 >     ; s = filter ((== n) . length) scs
 >     ; x = map permutations s
@@ -353,4 +366,4 @@
 $ echo 024579 | sro RT4I
 79B024
 
-> sro (rnrtnmi "RT4I") [0,2,4,5,7,9]
+> sro (rnrtnmi "RT4I") (pco "024579")
diff --git a/Music/Theory.hs b/Music/Theory.hs
--- a/Music/Theory.hs
+++ b/Music/Theory.hs
@@ -3,8 +3,7 @@
                      module Music.Theory.Pct,
                      module Music.Theory.Prime,
                      module Music.Theory.Set,
-                     module Music.Theory.Table,
-                     module Music.Theory.Permutations) where
+                     module Music.Theory.Table) where
 
 import Music.Theory.Parse
 import Music.Theory.Pitch
@@ -12,4 +11,3 @@
 import Music.Theory.Prime
 import Music.Theory.Set
 import Music.Theory.Table
-import Music.Theory.Permutations
diff --git a/Music/Theory/Parse.hs b/Music/Theory/Parse.hs
--- a/Music/Theory/Parse.hs
+++ b/Music/Theory/Parse.hs
@@ -1,6 +1,7 @@
-module Music.Theory.Parse (rnrtnmi) where
+module Music.Theory.Parse (rnrtnmi, pco) where
 
 import Control.Monad
+import Data.Char
 import Music.Theory.Pitch
 import Text.ParserCombinators.Parsec
 
@@ -31,3 +32,12 @@
          (\e -> error ("rnRTnMI parse failed\n" ++ show e)) 
          id 
          (parse p "" s)
+
+pco :: String -> [Int]
+pco s =
+    let s' = dropWhile isSpace s
+        s'' = takeWhile (\c -> elem c "0123456789taAebB") s'
+        f c | c `elem` "taA" = 10
+            | c `elem` "ebB" = 11
+            | otherwise = read [c]
+    in map f s''
diff --git a/Music/Theory/Pitch.hs b/Music/Theory/Pitch.hs
--- a/Music/Theory/Pitch.hs
+++ b/Music/Theory/Pitch.hs
@@ -38,7 +38,7 @@
 invertSelf [] = []
 invertSelf (x:xs) = invert x (x:xs)
 
--- | Composition on inversion about zero and transpose.
+-- | Composition of inversion about zero and transpose.
 tni :: (Integral a) => a -> [a] -> [a]
 tni n = tn n . invert 0
 
diff --git a/README b/README
--- a/README
+++ b/README
@@ -3,5 +3,5 @@
 Music theory operations in haskell, primarily
 focussed on 'set theory'.
 
-(c) rohan drape, 2006-2009
+(c) rohan drape, 2006-2010
     gpl, http://gnu.org/copyleft/
diff --git a/hmt.cabal b/hmt.cabal
--- a/hmt.cabal
+++ b/hmt.cabal
@@ -1,15 +1,15 @@
 Name:              hmt
-Version:           0.1
+Version:           0.2
 Synopsis:          Haskell Music Theory
 Description:       Haskell music theory library
 License:           GPL
 Category:          Music
-Copyright:         Rohan Drape, 2006-2009
+Copyright:         Rohan Drape, 2006-2010
 Author:            Rohan Drape
 Maintainer:        rd@slavepianos.org
 Stability:         Experimental
-Homepage:          http://www.slavepianos.org/rd/
-Tested-With:       GHC == 6.8.2
+Homepage:          http://slavepianos.org/rd/?t=hmt
+Tested-With:       GHC == 6.10.3
 Build-Type:        Simple
 Cabal-Version:     >= 1.6
 
@@ -17,7 +17,7 @@
                    Help/hmt.help.lhs
 
 Library
-  Build-Depends:   base == 3.*,
+  Build-Depends:   base == 4.*,
                    containers,
                    parsec,
                    permutation
@@ -30,3 +30,7 @@
                    Music.Theory.Set
                    Music.Theory.Table
                    Music.Theory.Permutations
+
+Source-Repository  head
+  Type:            darcs
+  Location:        http://slavepianos.org/rd/sw/hmt
