{"title":"\u6f14\u7b97 dom/rng \u3092\u5b9f\u73fe\u3059\u308b","height":"190","published":"2006-10-23 10:43:44","url":"https://kotsubu-chan.hatenadiary.org/entry/20061023/1220665424","blog_title":"\u7d9a\u30fb\u3072\u3088\u5b50\u306e\u304d\u3082\u3061","width":"100%","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkotsubu-chan.hatenadiary.org%2Fentry%2F20061023%2F1220665424\" title=\"\u6f14\u7b97 dom/rng \u3092\u5b9f\u73fe\u3059\u308b - \u7d9a\u30fb\u3072\u3088\u5b50\u306e\u304d\u3082\u3061\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","author_name":"kotsubu-chan","author_url":"https://blog.hatena.ne.jp/kotsubu-chan/","version":"1.0","provider_name":"Hatena Blog","description":"VDM++ \u3067\u306e\u6f14\u7b97 dom/rng \u306b\u6e96\u62e0\u3059\u308b\u3088\u3046\u306b\uff08\u30e2\u30b8\u30e5\u30fc\u30eb VDM_Map \u3067\uff09\u95a2\u6570 dom/rng \u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002def dom(m): \"\"\" dom m ; map A to B -> set of A ; ; Domain ; yields the domain (the set of keys) of m. \"\"\" return VDM_Set(m.dict.keys())\u95a2\u6570 dom \u306f\u3001\u5199\u50cf m \u306e\u30ad\u30fc\u96c6\u5408\u3092\u751f\u6210\u3057\u3066\u3001\u3053\u308c\u3092\u30ea\u30bf\u30fc\u30f3\u5024\u3068\u3057\u307e\u3059\u3002 \u300a\u95a2\u9023\u8a18\u4e8b\u300bPython \u306e\u7d44\u307f\u8fbc\u307f\u578b dict \u306b\u306f\u3001\u6b21\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u898f\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002 a.keys() \u5909\u6570 a \u304c dic\u2026","blog_url":"https://kotsubu-chan.hatenadiary.org/","categories":[]}