feat: change up organisation

This commit is contained in:
2023-04-24 11:02:37 +08:00
parent 13f372ec5a
commit dd56398b7d
378 changed files with 4653 additions and 107 deletions

View File

@@ -0,0 +1,11 @@
import cs2030s.fp.Saveable;
import cs2030s.fp.Immutator;
import java.util.stream.Stream;
import java.util.List;
class MyTest {
public static void main(String[] args){
Immutator<Saveable<Integer>, Object> hash = o -> Saveable.<Integer>of(o.hashCode() + 10);
Saveable.<Number>of(4).flatMap2(hash);
}
}