Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to compile due to missing sendTo #18

Closed
myroslambda opened this issue Jul 27, 2019 · 0 comments
Closed

Failure to compile due to missing sendTo #18

myroslambda opened this issue Jul 27, 2019 · 0 comments
Labels

Comments

@myroslambda
Copy link
Contributor

The function sendTo is no longer available on network 3.*. This stops
keera-hails-reactive-network from compiling:

Preprocessing library keera-hails-reactive-network-0.1...
[1 of 1] Compiling Hails.Network    ( src/Hails/Network.hs, dist/dist-sandbox-d9da2abf/build/Hails/Network.o )
src/Hails/Network.hs:21:33: error:
    • Variable not in scope:
        sendTo :: Socket -> String -> SockAddr -> IO Integer
    • Perhaps you meant ‘sendFd’ (imported from Network.Socket)
myroslambda added a commit that referenced this issue Jul 27, 2019
The operation sendTo has been moved to a submodule used to communicate with a
socket using bytestrings.

This commit modifies the udp to RV bridge so that it uses bytestrings. The
current RV is still String-based, so as not to change the interface.
myroslambda added a commit that referenced this issue Jul 27, 2019
A prior commit introduced an import that took a function from
a module that declared the instance of a class. This commit
refers to the module that declares the class instead.
myroslambda added a commit that referenced this issue Jul 27, 2019
@myroslambda myroslambda reopened this Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant