senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Masaki Hara (qnighy@qnmd.info)'s status on Tuesday, 18-Sep-2018 09:49:20 JST Masaki Hara Masaki Hara

    https://github.com/rust-lang/rfcs/pull/2544
    ::<>をなくす提案リベンジ。Rustではジェネリクス引数を<>に入れるが、特定の文脈では構文上の都合で::<>とする必要があり、混乱のもとになっていた。理論的には曖昧性なく::を除去することはできないが、全数検査によりそういうケースが実際にはないことがわかった。

    In conversation Tuesday, 18-Sep-2018 09:49:20 JST from qnmd.info permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: avatars2.githubusercontent.com
      Make the turbofish syntax redundant by varkor · Pull Request #2544 · rust-lang/rfcs
      from GitHub
      Make disambiguating generic arguments in expressions with :: optional, allowing generic arguments to be specified without ::. This makes the "turbofish" notation no longer necessary. Rend...
    • あじょだよ repeated this.
    • Masaki Hara (qnighy@qnmd.info)'s status on Tuesday, 18-Sep-2018 09:53:30 JST Masaki Hara Masaki Hara
      in reply to

      そこで、ジェネリクスと演算子が曖昧なときはまずジェネリクスと思ってパースし、失敗したらバックトラックするという方法が提案されている。Rustは今まででバックトラックをもたない定数先読み構文のみを使っていたが、この仮定は崩れることになる。実験的にはパーサーの効率に影響はないらしい

      In conversation Tuesday, 18-Sep-2018 09:53:30 JST permalink
      あじょだよ repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.