程序代写代做 C Haskell More List Operations
More List Operations Exercise 1 WriteafunctionunMaybethattakesalistofMaybe a,andreturnsalistcontainingtheelements. Any Nothing’s present in the original list should be discarded. You will have to work out the type declaration. Make it as general as possible. > unMaybe [Just 1, Nothing, Just 2] [1,2] > unMaybe [Nothing, Just ”hello”, Just ”world”] [”hello”,”world”] Exercise 4 If one list has more […]
程序代写代做 C Haskell More List Operations Read More »