comparison src/main/java/fj/data/IO.java @ 0:fe80c1edf1be

add getLoop
author tatsuki
date Fri, 20 Mar 2015 21:04:03 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:fe80c1edf1be
1 package fj.data;
2
3 /**
4 * Created by MarkPerry on 19/06/2014.
5 */
6
7 import java.io.IOException;
8
9 /**
10 * IO monad for processing files
11 *
12 * @author Martin Grotzke
13 *
14 * @param <A> the type of the result produced by the IO
15 */
16 public interface IO<A> {
17
18 public A run() throws IOException;
19
20 }