mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 10:21:51 +00:00
36 lines
1.4 KiB
Haskell
36 lines
1.4 KiB
Haskell
module Startlude
|
|
( module X
|
|
, module Startlude
|
|
)
|
|
where
|
|
|
|
import Control.Arrow as X
|
|
( (&&&) )
|
|
-- import Control.Comonad 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 qualified Protolude as P
|
|
( readMaybe )
|
|
|
|
id :: a -> a
|
|
id = identity
|
|
|
|
readMaybe :: Read a => Text -> Maybe a
|
|
readMaybe = P.readMaybe . toS
|
|
{-# INLINE readMaybe #-}
|