{"provider_url":"https://hatena.blog","width":"100%","blog_title":"memo486","image_url":null,"author_name":"sonota88","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20120918%2F1347989850\" title=\" Haskell: \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068SQL - memo486\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Haskell"],"title":" Haskell: \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068SQL","type":"rich","published":"2012-09-18 02:37:30","description":"\u300c\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Haskell\u300d\u8aad\u3093\u3067\u307e\u3059\u3002 \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u306e\u8aac\u660e\u3092\u898b\u3066\u305f\u3089\u306a\u3093\u304bSQL\u3063\u307d\u3044\u611f\u3058\u304c\u3057\u3066\u304d\u305f\u306e\u3067\u30e1\u30e2\u3002 fooTable = [0,1,2,3] fooFunc = [ x * 3 | x <- fooTable, x >= 2 ] main = print fooFunc -- > [6,9] create table foo_table (x int); insert into foo_table (x) values (0), (1), (2), (3); select x * 3 from foo_table where x >= 2; --> [6,9] \u30ea\u30b9\u30c8\u5185\u5305\u8868\u2026","author_url":"https://blog.hatena.ne.jp/sonota88/","url":"https://memo88.hatenablog.com/entry/20120918/1347989850","height":"190","blog_url":"https://memo88.hatenablog.com/","provider_name":"Hatena Blog"}