ç¹ã«èª¬æã¯ãã¾ãããIOã¢ãããªãã¦è¨ã£ã¦ããå¥ã«é£ãããã¨ã§ã¯ãªããçµå±ãã£ã¦ãäºã¯ãããªæãã§ãã¨ããã®ãããã£ã¦ããããã°ããã¡ãããå®éã®Haskellå¦çç³»ããã®ãããªå®è£ ã«ãªã£ã¦ããã¨ããæå³ã§ã¯ãªããJavaããã°ã©ãã¯ãã®ãããªã¤ã¡ã¼ã¸ã§IOã¢ãããç解ããã°ããã®ã§ã¯ãªããã¨ããææ¡ã«éããªãã®ã§ããã®ç¹ã¯æ³¨æãã¦ãã ããã package iomonad; import java.util.Scanner; public class IOLib { enum Unit{VALUE};//ä¸ã¤ããå¤ãæããªãå public static Unit UNIT = Unit.VALUE; /** * Haskellã®IO 'aåã«ç¸å½ */ public interface IO<A> { /** * IOããå®è¡ããã¦ãAåã®å¤ãå¾ãå¦çï¼ * ã¦ã¼ã¶ãç´æ¥å¼ã³åºãã¨åç §
{{#tags}}- {{label}}
{{/tags}}