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

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. 8x9 (8x9@mstdn.glorificatio.org)'s status on Friday, 12-Oct-2018 21:38:23 JST 8x9 8x9

    純粋関数型言語 + 借用

    よく解らないけれど、思い付きで言えば、借用じゃなくて所有権を渡しっぱなしにする必要がある気がする。

    借用だと所有権が返って来る。
    返って来た時に値が変わっていると、純粋関数型としてはマズいと思うので、配列のような渡した先で変化する物は結局渡せない。

    もうこっちでは使いませんって事で所有権を渡してしまって、渡した先で変化させられた物は別の物という扱いで返してもらう必要があるんじゃないかな。

    In conversation Friday, 12-Oct-2018 21:38:23 JST from mstdn.glorificatio.org permalink

    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.