<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>Haskell</anon>
  </categories>
  <description>学習効率を上げるために（本を読むだけではなく）実用的なコードを書きたい 本読むだけだと「なるほどー。で、これどこで何に使えばいいの？」になりがち とはいえアプリケーションを全部 Haskell で書くのはまだ無理 という訳でRubyからGroovyの標準入力に渡して処理させて出力を読むの焼き直しです。これで「自宅で使ってる Ruby スクリプトのここの処理を Haskell に置き換えてみよう」みたいにできればいいなと。foo.rb # -*- coding: utf-8 -*- def proc_by_haskell(haskell_program, str) IO.popen(%Q{run…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20120929%2F1348918781&quot; title=&quot; RubyからHaskellの標準入力に渡して処理させて出力を読む - memo486&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>2012-09-29 20:39:41</published>
  <title> RubyからHaskellの標準入力に渡して処理させて出力を読む</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/20120929/1348918781</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
