{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","description":"# Rpn.eval \"3 1 - 2.1 +\" # => 4.1 defmodule Rpn do def eval(expression) do eval(tokenize(expression), []) end defp eval([], [result]), do: result defp eval([\"+\"|tokens], [rhs, lhs|stack]), do: eval(tokens, [lhs + rhs | stack]) defp eval([\"-\"|tokens], [rhs, lhs|stack]), do: eval(tokens, [lhs - rhs | \u2026","author_name":"E_Mattsan","image_url":null,"height":"190","title":" RPN in Elixir","width":"100%","url":"https://blog.emattsan.org/entry/20170330/1490849759","blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20170330%2F1490849759\" title=\" RPN in Elixir - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://blog.emattsan.org/","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","categories":["Elixir","\u3081\u3082"],"published":"2017-03-30 13:55:59"}