{"categories":["Haskell"],"published":"2008-01-22 00:25:38","title":"ghci\u3067enumFrom","blog_url":"https://argius.hatenablog.jp/","description":"\u6ce8\u610f\uff1a\u771f\u4f3c\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002 Enum\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u3042\u3063\u3066\u3001enumFrom\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092ghci\u3067\u3053\u3093\u306a\u3075\u3046\u306b\u8a55\u4fa1\u3057\u3066\u307f\u305f\u3002 Prelude> enumFrom 1\u3053\u308c\u3063\u3066\u5373\u3061\u3001 main = print [1..] \u3068\u307b\u3068\u3093\u3069\u540c\u3058\u306a\u306e\u3067........\u3042\u3042\u3042\u3042\u3042\u3001\u3069\u3046\u3084\u3063\u3066\u6b62\u3081\u308b\u306e\uff1f\uff1f\uff1f\uff1f \u3067\u3001187200\u307e\u3067\u884c\u3063\u305f\u3068\u3053\u308d\u3067\u30d7\u30ed\u30bb\u30b9\u3092\u5f37\u5236\u7d42\u4e86\u3002\u8ffd\u8a18\uff1a\u3053\u308c\u306fCygwin\u3067ghci.exe\u3067\u8d77\u52d5\u3057\u305f\u3068\u304d\u306e\u8a71\u3067\u3059\u304c\u3001\u3088\u304f\u898b\u305f\u3089\u3001Cygwin\u306e\u6642\u306f WARNING: GHCi invoked via 'ghci.exe' in *nix-like shells (cygwin-b\u2026","provider_name":"Hatena Blog","width":"100%","blog_title":"argius note","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fargius.hatenablog.jp%2Fentry%2F20080122%2F1201015538\" title=\"ghci\u3067enumFrom - argius note\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_name":"argius","url":"https://argius.hatenablog.jp/entry/20080122/1201015538","author_url":"https://blog.hatena.ne.jp/argius/","version":"1.0","height":"190","type":"rich"}