blob: 24049ee655c3274cc4e2c5a5981a1dfd3a3ec0fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
catMaybes :: [Maybe a] -> [a]
fromJust :: GHC.Stack.Types.HasCallStack => Maybe a -> a
fromMaybe :: a -> Maybe a -> a
isJust :: Maybe a -> Bool
isNothing :: Maybe a -> Bool
listToMaybe :: [a] -> Maybe a
mapMaybe :: (a -> Maybe b) -> [a] -> [b]
maybe :: b -> (a -> b) -> Maybe a -> b
maybeToList :: Maybe a -> [a]
data Maybe a = Nothing | Just a
data T = A Int | B Float
f :: Double -> Double
g :: Double -> Double
h :: Integral a => a -> a
f :: Double -> Double
|