basen-0.1.0.0

Safe HaskellSafe
LanguageHaskell2010

Data.BaseN.Internal

Synopsis

Documentation

class IsString s => StringLike s where Source #

Methods

concat :: [s] -> s Source #

drop :: Int -> s -> s Source #

length :: s -> Int Source #

take :: Int -> s -> s Source #

toString :: s -> String Source #

boundedBy :: (Integral idx, Integral len) => idx -> len -> Bool Source #

Bounded between 0 and a given i. [0, i)

inChunksOf :: StringLike s => s -> Int -> [s] Source #

(<?>) :: Maybe b -> a -> Either a b infixl 4 Source #