
25 Aug
2017
25 Aug
'17
4:05 a.m.
Hello, I have this data Proxy = Proxy String And I want to write a function f :: Maybe Proxy -> Maybe String f ma = case ma of (Just (Proxy a)) -> Just a Nothing -> Nothing I was wondering if there is no simpler way to do this ? thanks Frederic