<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sirocco</author_name>
  <author_url>https://blog.hatena.ne.jp/sirocco/</author_url>
  <blog_title>sirocco の書いてもすぐに忘れるメモ</blog_title>
  <blog_url>https://sirocco.hatenadiary.org/</blog_url>
  <categories>
    <anon>Haskell</anon>
    <anon>C</anon>
  </categories>
  <description>Haskell からは C の関数が呼べます。 {-# OPTIONS -fglasgow-exts #-} import Foreign import Foreign.C.String import Foreign.C.Types import System.IO.Unsafe (unsafePerformIO) foreign import ccall &quot;math.h sin&quot; c_sin :: Double -&gt; Double foreign import ccall &quot;string.h strlen&quot; c_strlen :: CString -&gt; CUInt -- 同じ printf …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100603%2F1275548880&quot; title=&quot;FFI を学ぶ(1) :初めての Foreign Function Interface (FFI)  - sirocco の書いてもすぐに忘れるメモ&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>2010-06-03 16:08:00</published>
  <title>FFI を学ぶ(1) :初めての Foreign Function Interface (FFI) </title>
  <type>rich</type>
  <url>https://sirocco.hatenadiary.org/entry/20100603/1275548880</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
