swish-0.7.0.0: A semantic web toolkit.

PortabilityH98
Stabilityexperimental
MaintainerDouglas Burke
Safe HaskellSafe-Infered

Swish.Utils.ListHelpers

Description

This module defines some generic list and related helper functions. The plan is to move to using functionality from other modules (e.g. containers) where possible.

Synopsis

Documentation

subset :: Eq a => [a] -> [a] -> BoolSource

Subset test

equiv :: Eq a => [a] -> [a] -> BoolSource

Set equivalence test

flist :: [a -> b] -> a -> [b]Source

Apply list of functions to some value, returning list of results. It's kind of like an converse map.

This is similar to the ap function in the Monad library.