1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00

Revert "Generalize openMaybe."

This reverts commit 9a056744cfb33ac0454d07fd89356fb620b7cb50.
This commit is contained in:
Rob Rix 2015-12-30 10:33:28 -05:00
parent 3e3c7be082
commit ad31669f07

View File

@ -113,6 +113,6 @@ spec = do
leafWithRangesInSources sourceA sourceB rangeA rangeB = Free $ Annotated (Info rangeA mempty, Info rangeB mempty) (Leaf $ toList sourceA ++ toList sourceB)
openMaybe :: Maybe a -> Maybe (Maybe a)
openMaybe :: Maybe Bool -> Maybe (Maybe Bool)
openMaybe (Just a) = Just (Just a)
openMaybe Nothing = Nothing