<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guccyon</author_name>
  <author_url>https://blog.hatena.ne.jp/guccyon/</author_url>
  <blog_title>guccyonikki</blog_title>
  <blog_url>https://guccyon-2.hatenadiary.org/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>リスト内包表記</anon>
  </categories>
  <description>昨日作ったJavascriptの内包表記のインターフェースを一新しました。 listC関数の引数に要素を渡すスタイルをやめて、配列の要素に式を直接書くスタイルに変更。 （内包表記的にみて）より見た目が直観的になったと思います。 まぁそれでも言語仕様の制限上、最終的に関数コールしないといけませんが。 記述例 [&quot;x + y|x &lt;- [1,3,5], y &lt;- [2,4,6], x &gt; y&quot;].lisc(); // [5,7,9] 書き方は結構柔軟で、文字列のみでバーチカルラインを使って式とリストを分ける標準スタイル以外にも、配列の要素としてそれぞれの式を与える事もできます。 [&quot;[x,y]&quot;,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguccyon-2.hatenadiary.org%2Fentry%2F20080229%2Fp1&quot; title=&quot;JavaScriptで内包表記、Newバージョン - guccyonikki&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>2008-02-29 00:00:00</published>
  <title>JavaScriptで内包表記、Newバージョン</title>
  <type>rich</type>
  <url>https://guccyon-2.hatenadiary.org/entry/20080229/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
