Skip to content

Commit 3106133

Browse files
committed
Added type safe SafeIO type
1 parent 1b63285 commit 3106133

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package fj.data;
2+
3+
import java.io.IOException;
4+
5+
/**
6+
* Created by MarkPerry on 3/07/2014.
7+
*/
8+
public interface SafeIO<E extends IOException, A> extends IO<Validation<E, A>> {
9+
10+
@Override
11+
public Validation<E, A> run();
12+
13+
}
14+

0 commit comments

Comments
 (0)