[Haskell-cafe] Best way to return Bool based on a successful pattern match?
Nikolay Amiantov
ab at fmap.me
Mon Jul 13 13:40:33 UTC 2015
A nice idea! It can be helpful in some cases, although usually I have
more complex patterns, for example "get all DataDefinitions from a list
of TopLevelDefinitions parsed from a .hs file" or "filter all KeyPresses
directed to a particular window from an Event stream".
On 07/13/2015 04:24 PM, Adam Bergmark wrote:
> Perhaps this is of interest to
> you, http://hackage.haskell.org/package/generic-maybe
>
> HTH,
> Adam
--
Nikolay.
More information about the Haskell-Cafe
mailing list