Permalink
Browse files

Update README for 0.2

  • Loading branch information...
1 parent e959fcd commit 3e5d73f5eb72891d161834a5b17fc8a4722670e8 Toralf Wittner committed Feb 21, 2010
Showing with 3 additions and 2 deletions.
  1. +2 −1 README
  2. +1 −1 src/System/ZMQ.hs
View
@@ -3,7 +3,7 @@ This library provides Haskell bindings to zeromq (http://zeromq.org).
· Current status
-Version 0.1 - This software currently has *alpha* status, i.e. it had
+Version 0.2 - This software currently has *alpha* status, i.e. it had
only seen very limited testing and changes to its API might happen.
This software was developed and tested on Linux 2.6.31 with GHC-6.12.1
@@ -30,6 +30,7 @@ The API mostly follows 0MQ's. Public functions are:
- bind
- connect
- send
+- send'
- flush
- receive
- poll
View
@@ -349,7 +349,7 @@ send (Socket s) val fls = bracket (messageOf val) messageClose $ \m ->
-- (Lazy.toChunks lbs)) flags@ but may be more efficient.
send' :: Socket a -> LB.ByteString -> [Flag] -> IO ()
send' (Socket s) val fls = bracket (messageOfLazy val) messageClose $ \m ->
- throwErrnoIfMinus1_ "send" $ c_zmq_send s (msgPtr m) (combine fls)
+ throwErrnoIfMinus1_ "send'" $ c_zmq_send s (msgPtr m) (combine fls)
-- | Flush the given socket (useful for 'send's with 'NoFlush').
flush :: Socket a -> IO ()

0 comments on commit 3e5d73f

Please sign in to comment.