Repository navigation
v0.3.4
What's New in v0.3.4
Much repeat, very socket, wow.
A small language treat and a networking convenience: sequences you can multiply, and a way to ask a connection who's on the other end.
Language & operators
- Sequence repetition with
*—*now repeats aStrorListwhen the other operand is anInt, in either order:"ab" * 3and3 * "ab"are both"ababab", and[0] * 3is[0, 0, 0]. A zero or negative count gives an empty sequence. List repetition is shallow — repeated nested Lists and Objects still refer to the same values. An out-of-range
count or a too-large result raises a catchableOverflowrather than panicking.
Stdlib
howl.peer(sock)— returns a connection's remote endpoint as{"host": Str, "port": Int}. Calling it on a listener raises aTypeError.
Install
cargo install dogelang
Full Changelog: v0.3.3...v0.3.4