openServiceImpl :: ForeignPtr SessionImpl
                -> String
                -> IO (Either String (Service, ForeignPtr ServiceImpl))
openServiceImpl session serName =
    withCString serName $ \cs -> do
      withForeignPtr session (`blpapi_Session_openService` cs)
      getService session cs
openServiceImpl :: ForeignPtr SessionImpl
                -> String
                -> IO (Either String (Service, ForeignPtr ServiceImpl))
openServiceImpl session serName =
    withCString serName $ \cs -> do
      withForeignPtr session (`blpapi_Session_openService` cs)
      getService session cs
openServiceImpl session serName =
    withCString serName $ \cs -> do
      withForeignPtr session (`blpapi_Session_openService` cs)
      getService session cs