unsubscribeImpl :: ForeignPtr SessionImpl
              -> [Subscription]
              -> IO ()
unsubscribeImpl session subList =
  withForeignPtr session $ \s -> do
    subListImplF <- populateSubscriptionListImpl subList
    withForeignPtr subListImplF $ \sl -> do
       rc <- blpapi_Session_unsubscribe s sl nullPtr 0
       failIfBadErrorCode rc
unsubscribeImpl :: ForeignPtr SessionImpl
              -> [Subscription]
              -> IO ()
unsubscribeImpl session subList =
  withForeignPtr session $ \s -> do
    subListImplF <- populateSubscriptionListImpl subList
    withForeignPtr subListImplF $ \sl -> do
       rc <- blpapi_Session_unsubscribe s sl nullPtr 0
       failIfBadErrorCode rc
unsubscribeImpl session subList =
  withForeignPtr session $ \s -> do
    subListImplF <- populateSubscriptionListImpl subList
    withForeignPtr subListImplF $ \sl -> do
       rc <- blpapi_Session_unsubscribe s sl nullPtr 0
       failIfBadErrorCode rc