Re: [rust-dev] Type System

2014-06-05 Thread Kang Seonghoon
t; research in this area please find a way to embrace it. > > Also a proper active objects based OO system would be appealing. > > Suminda > > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listi

Re: [rust-dev] Using String and StrSlice

2014-06-01 Thread Kang Seonghoon
e().slice_from(i+c.len_utf8_bytes())) > > It's quite complex, no better way to do ? > > Any future additional methods for String are planned ? > > Thanks > > -- > Christophe > > > > > > _______ > Rus

Re: [rust-dev] failed to find an implementation of trait core::cmp::TotalEq for ~str

2014-05-31 Thread Kang Seonghoon
elf, key: &~str) -> bool { > self.props.contains_key(key) > } > } > > what i am doing wrong ? > > Thanks > > > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-de

Re: [rust-dev] Compiling with no bounds checking for vectors?

2014-03-29 Thread Kang Seonghoon
), but out-of-bound conditions are particularly severe and deserves a solution. I would really appreciate better solutions for the bounds check, but disabling the bounds check without an alternative measure will considerably hurt the main goal of Rust. -- -- Kang Seonghoon | Software Engineer, i

Re: [rust-dev] Goto statement missing

2014-03-23 Thread Kang Seonghoon
} > continue h; > } > } > > This syntax only allows to jump at the beginning of a lexical block, and > only to an larger scope, thus not infriging any static lexical rule. To be exact, it is `'g: ...` and `break 'g;` respectively. Its resemblance with th

Re: [rust-dev] Idomatic option handling

2014-03-18 Thread Kang Seonghoon
>}); > > Is there a clearer way? > > Thanks, > > Phil > > > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > -- -- Kang Seonghoon | Softwar

Re: [rust-dev] RFC: Opt-in builtin traits

2014-02-28 Thread Kang Seonghoon
like that? > > Food for thought, at least. I second to this. Indeed, we already have similar concerns about externally-implemented `#[deriving]` (#11813, and somewhat tangently, #11298), as syntax extensions don't have any clue about paths. -- -- Kang Seonghoon | Software Eng

Re: [rust-dev] reader.lines() swallows io errors

2014-02-18 Thread Kang Seonghoon
enjoying following the language and hope to use > it as a safer replacement for C++ for latency sensitive code.) > > Cheers, > > Phil > > > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo

Re: [rust-dev] Rust-ci updates (project categories and documentation)

2014-01-21 Thread Kang Seonghoon
rks upload (and graphing) > > cheers, > > Hans Jørgen > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev -- -- Kang Seonghoon

Re: [rust-dev] freeing of locals

2013-11-16 Thread Kang Seonghoon
> Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev -- -- Kang Seonghoon | Software Engineer, iPlateia Inc. | http://mearie.org/ -- Opinions expressed in this email do not necessarily represent the views of

Re: [rust-dev] Text encoding

2013-07-29 Thread Kang Seonghoon
__ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev -- -- Kang Seonghoon | Software Engineer, iPlateia Inc. | http://mearie.org/ -- Opinions expressed in this email do not necessarily represent the views

Re: [rust-dev] should '///' be a doc comment?

2013-05-01 Thread Kang Seonghoon
to the problem. [1] https://github.com/mozilla/rust/issues/2498 2013/5/2 Steve Klabnik : > I'm for this. > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev -- -- Kang Seonghoon | Soft

Re: [rust-dev] Range vector initialization

2013-04-15 Thread Kang Seonghoon
> Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > -- -- Kang Seonghoon | Software Engineer, iPlateia Inc. | http://mearie.org/ -- Opinions expressed in this email do

Re: [rust-dev] String encode/decode

2013-04-11 Thread Kang Seonghoon
t;> http://courteous.ly/yp3Zgd > > > > > -- > /f > > I reject your reality and substitute my own. > http://courteous.ly/yp3Zgd > > ___ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev

Re: [rust-dev] Some work on Rust coding standards

2013-04-10 Thread Kang Seonghoon
; > My reasons: > > 1. No wasted lines (unlike /** ... */ which wastes two lines). > 2. If you include a code example inside the `///` comment, you can use > `/* ... */` within the comment without triggering errors. > 3. It just looks better to my eyes ;) -- -- Kang Seonghoon

Re: [rust-dev] Proposal to replace the `as` keyword with syntax

2013-03-26 Thread Kang Seonghoon
n() { > println(Number::make_number():int.incr().to_str()); // 2 > } > > However, a cast to int with `as` would convert both uint and int to int > and therefore it wouldn't help the typechecker enough. > > Patrick -- -- Kang Seonghoon | Software Engineer, iPl

[rust-dev] Conditional expression

2013-03-19 Thread Kang Seonghoon
ll be invalid then. I choose `iif!` instead because it is already used in several languages for expression-level conditionals. * I suggest not to implement two-argument version `iif!(x, y)` (which is same as `iif!(x, y, ())` by the definition). We don't want this form to be used for general

[rust-dev] [RFC] Functions/methods with generated names

2013-02-11 Thread Kang Seonghoon
be rewritten in terms of $+ I think. ...Any thoughts? -- -- Kang Seonghoon | Software Engineer, iPlateia Inc. | http://mearie.org/ -- Opinions expressed in this email do not necessarily represent the views of my employer. -- ___ Rust-dev ma