On Wed, Sep 25, 2013 at 8:29 AM, Patrick Walton <pwal...@mozilla.com> wrote:

> Slice?
>> Provide first class support of array, slice(not borrowed pointer to
>> vector). And support slice operation, like a[0:5].
>>
>
> How is a slice different from a borrowed pointer to a vector? Note that
> you can take a borrowed pointer to a subrange of a vector.



And at last: could support default parameter in function/method?

>
> This has been discussed and the consensus, at least for now, is that
> statics plus functional record update syntax is enough.


Hi Patrick,

could you give examples of how the slicing (with borrowed pointer to a
vector) and the default parameter usage would/will look like in actual use?

Thanks!

Jason
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to