view src/main/java/fj/data/IO.java @ 4:19c719aba746 default tip

change getLoop return value
author tatsuki
date Mon, 20 Apr 2015 08:09:22 +0900
parents fe80c1edf1be
children
line wrap: on
line source

package fj.data;

/**
 * Created by MarkPerry on 19/06/2014.
 */

import java.io.IOException;

/**
 * IO monad for processing files
 *
 * @author Martin Grotzke
 *
 * @param <A> the type of the result produced by the IO
 */
public interface IO<A> {

	public A run() throws IOException;

}