find p = foldRight (\a b -> if p a then Full a else b) Empty
-
This Tweet is unavailable.
-
-
This Tweet is unavailable.
-
probably if we also add use `filter` or similar for Optional (but this function is not provided).
0 replies 0 retweets 0 likes -
This Tweet is unavailable.
-
find needs to work on an infinite list
0 replies 0 retweets 0 likes -
This Tweet is unavailable.
-
foldLeft is "for loop" foldRight is "replace the constructors"
3 replies 13 retweets 31 likes
Replying to @puffnfresh @jb9i
foldRight f z (a:b:c:d:[]) ~ (a `f` (b `f` (c `f` (d `f` z))))
3:51 PM - 11 Jun 2018
0 replies
2 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.