hakyllbars-1.0.1.0: A Hakyll compiler for Handlebars-like templates
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyllbars.Util

Documentation

splitAndStrip Source #

Arguments

:: String

The delimiter to split the input string on.

-> String

The string to split.

-> [String]

The list of strings split from the input.

firstAlt :: (Foldable m, Alternative n) => m (n a) -> n a Source #

uncurry3 :: (a -> b -> c -> d) -> (a, b, c) -> d Source #

curry3 :: ((a, b, c) -> d) -> a -> b -> c -> d Source #

maybeHead :: [a] -> Maybe a Source #