<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>terurou</author_name>
  <author_url>https://blog.hatena.ne.jp/terurou/</author_url>
  <blog_title>terurouメモ</blog_title>
  <blog_url>https://terurou.hateblo.jp/</blog_url>
  <categories>
    <anon>Haxe</anon>
  </categories>
  <description>専用構文というか、マクロでF#のコンピュテーション式のサブセットライブラリ（Bind, Return, Zeroのみ）を実装して、その上にPromiseを載せたという表現の方が正確な説明です。 github.com Promiseを使った非同期処理がこんな感じで書けます。hxgndでは、hxgnd.Promiseという独自実装のPromise型が提供されていますが、これはjs.Promiseと混在させることが可能です。 import hxgnd.Promise; class Main { public static function main() { Promise.compute({ var…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fterurou.hateblo.jp%2Fentry%2F2018%2F09%2F17%2F192622&quot; title=&quot;HaxeのマクロでPromise専用構文を作った - terurouメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-17 19:26:22</published>
  <title>HaxeのマクロでPromise専用構文を作った</title>
  <type>rich</type>
  <url>https://terurou.hateblo.jp/entry/2018/09/17/192622</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
