• 検索結果がありません。

結果型を変更可能な限定継続の模倣

N/A
N/A
Protected

Academic year: 2021

シェア "結果型を変更可能な限定継続の模倣"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)情報処理学会論文誌. プログラミング. Vol.6 No.3 46 (Dec. 2013). 発表概要. 結果型を変更可能な限定継続の模倣 宮部 浩太朗1,a). 亀山 幸義1. 2013年2月28日発表. 我々は型付きの限定継続オペレータの性質について述べる.本発表は shift/reset と呼ばれる限定継続オ ペレータを対象とする.shift/reset は,プログラムの評価文脈の一部を関数としてキャプチャし利用でき るようにするオペレータである.型付きの shift/reset には Answer-type modification と呼ばれる現象があ る.これは reset が返す答えの型が shift によって変わる現象で,shift/reset を利用する実用的なプログラ ムでしばしば起こる.しかし,Answer-type modification に対応するには既存の型システムに大幅に手を加 えなければならないため,たとえば OCaml 上で実装されている shift/reset は Answer-type modification は許されていない.本発表では Answer-type modification を起こす shift/reset が,Answer-type が固定さ れた shift/reset と catch/throw でシミュレート可能であることを示す.. Simulation of Answer-type Modifying Delimited Control Kotaro Miyabe1,a). Yukiyoshi Kameyama1. Presented: February 28, 2013. We talk about a property of the typed delimited control operator. We focus on the delimited control operators shift/reset that capture a part of the continuation of the program, that can be used as a function. In typed shift/reset, there is a phenomenon, called the answer-type modifcation. This is that the type of reset is changed by shift. We often need the answer-type modification in realistic programs using shift/reset. But the answer-type modification is not compatible with the existing type systems. Indeed, shift/reset implemented in OCaml cannot modify the answer type. We show that shift/reset which modify the answer type can be simulated with shift/reset whose answer type is fixed and catch/throw.. 1. a). 筑波大学システム情報工学研究科コンピュータサイエンス専攻 Department of Computer Science, Graduate School of Systems and Information Engineering, University of Tsukuba, Tsukuba, Ibaraki 305–8573, Japan [email protected]. c 2013 Information Processing Society of Japan . 46.

(2)

参照

関連したドキュメント

BCP とは Business Continuity Plan の略称でビー・シー・ピーと呼ばれ、日本語では業務継続計画などと訳されます。

・ 継続企業の前提に関する事項について、重要な疑義を生じさせるような事象又は状況に関して重要な不確実性が認め

断面が変化する個所には伸縮継目を設けるとともに、斜面部においては、継目部受け台とすべり止め

通常は、中型免許(中型免許( 8t 限定)を除く)、大型免許及び第 二種免許の適性はないとの見解を有しているので、これに該当す

・ 継続企業の前提に関する事項について、重要な疑義を生じさせるような事象又は状況に関して重要な不確実性が認

う東京電力自らPDCAを回して業 務を継続的に改善することは望まし

(単位:千円) 平成22年度 平成23年度 平成24年度 平成25年度 平成26年度 1,772 決算 2,509 2,286 1,891 1,755 事業費 予算 2,722 2,350 2,000. 1,772 決算

脅威検出 悪意のある操作や不正な動作を継続的にモニタリングす る脅威検出サービスを導入しています。アカウント侵害の