<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bowmoq</author_name>
  <author_url>https://blog.hatena.ne.jp/bowmoq/</author_url>
  <blog_title>いらずんば</blog_title>
  <blog_url>https://bowmoq.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>ふつうのHaskellプログラミング</anon>
  </categories>
  <description>今日は基本的な構文についてまとめます。 コメント Haskellのコメントは -- を使います。 {- -}でブロック形式のコメントになります。 -- 階乗をもとめる関数 {- 引数にIntをとり返り値はInt -} factorial :: Int -&gt; Int factorial 0 = 1 factorial n = n * factorial(n - 1) $ 演算子 $演算子は式を区切るために使う演算子です。使い方としてはCなどの括弧と同じです。 print $ length $ lines cs -- これは以下の式と同じ print (lenth (lines cs)) レイアウ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbowmoq.hatenadiary.org%2Fentry%2F20080110%2F1199973963&quot; title=&quot;基本的な構文 - いらずんば&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-01-10 23:06:03</published>
  <title>基本的な構文</title>
  <type>rich</type>
  <url>https://bowmoq.hatenadiary.org/entry/20080110/1199973963</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
