On Sun, Oct 17, 2010 at 1:51 PM, Antoine Latter <aslat...@gmail.com> wrote:

>
> What would the definition of a function of the form:
>
> > find :: (Text -> Bool) -> Text -> Maybe Text
>
> look like?
>

Can you be more specific? I assume you mean that the only sensible return
values are Nothing or the entire Text for which the predicate first returns
True? (In other words, that this function doesn't actually seem to have a
useful return type.)
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to