{"image_url":null,"provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","type":"rich","categories":["Programming","Ruby","Factor"],"author_name":"Kureduki_Maari","width":"100%","title":"Ruby\u3067Factor\u3063\u307d\u3044\u9023\u9396\u6027 concatenative (\u95a2\u6570\u5408\u6210) \u8a18\u6cd5\u3092\u4f5c\u308b","version":"1.0","author_url":"https://blog.hatena.ne.jp/Kureduki_Maari/","blog_url":"https://c4se.hatenablog.com/","blog_title":"c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606","description":"Ruby\u3067curry\u5316\u3057\u306a\u3044\u95a2\u6570\u5408\u6210\u306ecompose\u95a2\u6570\u3092\u307f\u3066\u3090\u305f\u3089\u3001Factor\u306b\u898b\u3048\u3066\u304d\u3066\u3001\u4f5c\u308c\u3055\u3046\u306b\u601d\u3075\u305f\u3002 \u518d\u5e30\u3067\u968e\u4e57\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u6240\u8fc4\u4f5c\u308b\u3002 # coding=utf-8 # license: Public Domain class Factor def initialize *words @definitions = {} @stack = [] call *words end def call *words while words.length > 0 word = words.shift if word.class.method_defined? :call arity = wo\u2026","url":"https://c4se.hatenablog.com/entry/2014/07/28/143302","published":"2014-07-28 14:33:02","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2014%2F07%2F28%2F143302\" title=\"Ruby\u3067Factor\u3063\u307d\u3044\u9023\u9396\u6027 concatenative (\u95a2\u6570\u5408\u6210) \u8a18\u6cd5\u3092\u4f5c\u308b - c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}