It is the classic
>>=
operator or use the "do" notation. 
For the special case of lists, a list comprehension might also be appropriate. 
Check out FregeGoodness again. 

Dierk

sent from:mobile 

> Am 08.10.2016 um 17:25 schrieb Russel Winder <rus...@winder.org.uk>:
> 
> I think I am getting a bit stressed :-(
> 
> I am not finding a flatMap function in Frege or Haskell. Obviously I
> can do a
> 
>    foldr (++) [] $ map …
> 
> for a list of lists, but then there is the general case.
> 
> -- 
> Russel.
> =============================================================================
> Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
> 41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@winder.org.uk
> London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Frege Programming Language" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to frege-programming-language+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Frege Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to frege-programming-language+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to