summoner-1.4.0.0: Tool for scaffolding fully configured batteries-included production-level Haskell projects.

Copyright(c) 2017-2019 Kowainik
LicenseMPL-2.0
MaintainerKowainik <xrom.xkov@gmail.com>
Safe HaskellNone
LanguageHaskell2010

Summoner.Template.Mempty

Description

Monoid utilities for templates.

Synopsis

Documentation

memptyIfFalse :: Monoid m => Bool -> m -> m Source #

Returns the given value in case of the given Bool is True. Otherwise, it returns mempty.