2-- Module : Streamly.Internal.BaseCompat
4-- Maintainer : streamly@composewell.com
5-- Stability : experimental
8-- Compatibility functions for "base" package.
10module Streamly.Internal.BaseCompat
13 , errorWithoutStackTrace
19import Data.Coerce (Coercible, coerce)
20#if MIN_VERSION_base(4,10,0)
21import Data.Either (fromRight, fromLeft)
25(#.) :: Coercible b c => (b -> c) -> (a -> b) -> (a -> c)
28#if !(MIN_VERSION_base(4,9,0))
29{-# NOINLINE errorWithoutStackTrace #-}
30errorWithoutStackTrace :: String -> a
31errorWithoutStackTrace = error
34#if !(MIN_VERSION_base(4,10,0))
35fromLeft :: a -> Either a b -> a
36fromLeft _ (Left a) = a
39fromRight :: b -> Either a b -> b
40fromRight _ (Right b) = b
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list