diff options
author | The Lux Programming Language | 2018-07-28 15:52:36 -0400 |
---|---|---|
committer | GitHub | 2018-07-28 15:52:36 -0400 |
commit | 072849be197dc6bb6007d08bb26be00cc374c744 (patch) | |
tree | 522a5ef5077eb4cf10e083a9feec042476626f7b /stdlib/source/lux/world/net/udp.jvm.lux | |
parent | b14102eaa2a80f51f160ba293ec01928dbe683c3 (diff) | |
parent | 168d36d07b48d2d936de24aa69b8464e68992075 (diff) |
Merge pull request #46 from LuxLang/change-number-signs
Change number signs
Diffstat (limited to 'stdlib/source/lux/world/net/udp.jvm.lux')
-rw-r--r-- | stdlib/source/lux/world/net/udp.jvm.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/world/net/udp.jvm.lux b/stdlib/source/lux/world/net/udp.jvm.lux index 6974af0ba..e8eeb1b1b 100644 --- a/stdlib/source/lux/world/net/udp.jvm.lux +++ b/stdlib/source/lux/world/net/udp.jvm.lux @@ -58,8 +58,8 @@ [addresses (InetAddress::getAllByName [address])] (: (io.IO (e.Error InetAddress)) (case (array.size addresses) - +0 (io.io (ex.throw cannot-resolve-address address)) - +1 (wrap (maybe.assume (array.read +0 addresses))) + 0 (io.io (ex.throw cannot-resolve-address address)) + 1 (wrap (maybe.assume (array.read 0 addresses))) _ (io.io (ex.throw multiple-candidate-addresses address)))))) (abstract: #export UDP {} |