xml-basic-0.1.1: Basics for XML/HTML representation and processing
Source code
Contents
Index
Text.XML.Basic.Utility
Synopsis
updateAppend
:: (a ->
Bool
) -> a -> (a -> a) -> [a] -> [a]
updateAppend'
:: (a ->
Bool
) -> a -> (a -> a) -> [a] -> [a]
Documentation
updateAppend
:: (a ->
Bool
) -> a -> (a -> a) -> [a] -> [a]
Source
Needs
break
from utility-ht in order to be as lazy as
updateAppend'
.
updateAppend'
:: (a ->
Bool
) -> a -> (a -> a) -> [a] -> [a]
Source
Apply
f
to the first element, where
p
holds. If no such element exists, append the default value
deflt
to the list.
Produced by
Haddock
version 2.6.0