summaryrefslogtreecommitdiffstats
path: root/src/Blessings/Internal.hs
blob: 0ed5556c36edf1376df4683c40803982614a7215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Blessings.Internal where

import Data.String (IsString)
import Data.Word (Word8)


class (IsString a, Monoid a) => Blessable a where
  length :: a -> Int
  drop :: Int -> a -> a
  take :: Int -> a -> a
  intercalate :: a -> [a] -> a
  fromWord8 :: Word8 -> a