Skip to content

Instantly share code, notes, and snippets.

@blizzarddreams
Created December 24, 2015 00:50
Show Gist options
  • Select an option

  • Save blizzarddreams/8dc5efdf35cf3a1bd838 to your computer and use it in GitHub Desktop.

Select an option

Save blizzarddreams/8dc5efdf35cf3a1bd838 to your computer and use it in GitHub Desktop.
h <- connectTo server (PortNumber (fromIntegral port))
h <- connectTo server $ PortNumber $ show $ port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment