summaryrefslogtreecommitdiff
path: root/KeyRing.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-04-17 23:42:34 -0400
committerjoe <joe@jerkface.net>2014-04-17 23:42:34 -0400
commit9a78532a862feebc4e4119cf61b97ed635426dd5 (patch)
tree35a8d53bab129db07075dccbfb60f92847b89cfc /KeyRing.hs
parent6c08038af8f800f8de03c53b162a6cd305ace4d7 (diff)
fixed kiki to compile (todo stubs)
Diffstat (limited to 'KeyRing.hs')
-rw-r--r--KeyRing.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/KeyRing.hs b/KeyRing.hs
index 6fac344..95c348e 100644
--- a/KeyRing.hs
+++ b/KeyRing.hs
@@ -150,8 +150,6 @@ filesToLock k secring pubring = do
150-- kret :: a -> KeyRingData a 150-- kret :: a -> KeyRingData a
151-- kret x = KeyRingData Map.empty Nothing (KeyRingAction x) 151-- kret x = KeyRingData Map.empty Nothing (KeyRingAction x)
152 152
153todo = error "unimplemented"
154
155data RSAPublicKey = RSAKey MPI MPI deriving (Eq,Show) 153data RSAPublicKey = RSAKey MPI MPI deriving (Eq,Show)
156data PKCS8_RSAPublicKey = RSAKey8 MPI MPI deriving Show 154data PKCS8_RSAPublicKey = RSAKey8 MPI MPI deriving Show
157 155
@@ -1971,6 +1969,7 @@ fmapWithRT g (MultiPass p atn next) = MultiPass p atn next'
1971instance Functor Kiki where 1969instance Functor Kiki where
1972 fmap f k = fmapWithRT (return f) k 1970 fmap f k = fmapWithRT (return f) k
1973 1971
1972{-
1974instance Monad Kiki where 1973instance Monad Kiki where
1975 return x = SinglePass todo (return x) 1974 return x = SinglePass todo (return x)
1976 k >>= f = kjoin $ fmap f k 1975 k >>= f = kjoin $ fmap f k
@@ -2099,3 +2098,5 @@ keyBySpec = todo
2099 2098
2100walletInputFormat :: Packet -> String 2099walletInputFormat :: Packet -> String
2101walletInputFormat = todo 2100walletInputFormat = todo
2101
2102-}