progs/lecture3.scala
changeset 364 f1a6fa599d26
parent 343 c8fcc0e0a57f
child 366 1c829680503e
--- a/progs/lecture3.scala	Wed Nov 18 01:54:39 2020 +0000
+++ b/progs/lecture3.scala	Sun Nov 22 03:45:22 2020 +0000
@@ -415,21 +415,3 @@
 // multiple functions making tail calls to each other. Well,
 // nothing is perfect. 
 
-
-
-
-
-
-
-
-
-
-//************
-// Either
-val either1 : Either[Exception,Int] = Right(1)
-val either2: Either[Exception, Int] = Right(2)
-
-for{
-  one <- either1
-  two <- either2
-} yield one + two