mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
38 lines
545 B
Haskell
38 lines
545 B
Haskell
module Startlude (
|
|
module X,
|
|
module Startlude,
|
|
) where
|
|
|
|
import Control.Arrow as X (
|
|
(&&&),
|
|
)
|
|
import Control.Error.Util as X
|
|
import Data.Coerce as X
|
|
import Data.String as X (
|
|
String,
|
|
fromString,
|
|
)
|
|
import Data.Time.Clock as X
|
|
import Protolude as X hiding (
|
|
bool,
|
|
hush,
|
|
isLeft,
|
|
isRight,
|
|
note,
|
|
readMaybe,
|
|
tryIO,
|
|
(<.>),
|
|
)
|
|
import Protolude qualified as P (
|
|
readMaybe,
|
|
)
|
|
|
|
|
|
id :: a -> a
|
|
id = identity
|
|
|
|
|
|
readMaybe :: (Read a) => Text -> Maybe a
|
|
readMaybe = P.readMaybe
|
|
{-# INLINE readMaybe #-}
|