Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.haskell > #513

Re: Get mapM to be lazy for IO

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.haskell
Subject Re: Get mapM to be lazy for IO
Date 2018-12-12 19:31 -0800
Organization A noiseless patient Spider
Message-ID <87sgz2p0fv.fsf@nightsong.com> (permalink)
References <24548724-4bdd-402d-8a76-1403b7e87169@googlegroups.com> <87bm5s4249.fsf@ixod.org> <551a276a-536d-4ba1-af9f-9f471dcac4f9@googlegroups.com>

Show all headers | View raw


Kaylen Wheeler <kfjwheeler@gmail.com> writes:
> I think the following is a much better way of doing while-loop-like
> constructs:

Yes, that's more direct.  You can also look at Control.Monad.Loops for
some useful combinators.

Back to comp.lang.haskell | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Get mapM to be lazy for IO kfjwheeler@gmail.com - 2018-12-11 05:19 -0800
  Re: Get mapM to be lazy for IO Mark Carroll <mtbc@bcs.org> - 2018-12-11 13:36 +0000
    Re: Get mapM to be lazy for IO Kaylen Wheeler <kfjwheeler@gmail.com> - 2018-12-12 17:52 -0800
      Re: Get mapM to be lazy for IO Paul Rubin <no.email@nospam.invalid> - 2018-12-12 19:29 -0800
    Re: Get mapM to be lazy for IO Kaylen Wheeler <kfjwheeler@gmail.com> - 2018-12-12 18:21 -0800
      Re: Get mapM to be lazy for IO Paul Rubin <no.email@nospam.invalid> - 2018-12-12 19:31 -0800
  Re: Get mapM to be lazy for IO Barry Fishman <barry@ecubist.org> - 2018-12-13 09:52 -0500
    Re: Get mapM to be lazy for IO Barry Fishman <barry@ecubist.org> - 2018-12-13 10:21 -0500
      Re: Get mapM to be lazy for IO Barry Fishman <barry@ecubist.org> - 2018-12-13 10:46 -0500

csiph-web