Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shares :: Maybe (Int, L.ByteString) -> Maybe Int
- shares a =
- case a of
- Nothing -> Nothing
- Just (x, y) -> Just x
- shares :: Maybe (Int, L.ByteString) -> Maybe Int
- shares Nothing = Nothing
- shares Just (x, y) = Just x
- Equations for ‘shares’ have different numbers of arguments
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement