| Subject: | Re: [Haskell-cafe] Re: a regressive view of support for imperative programming in Haskell |
|---|---|
| From: | Isaac Dupree |
| Date: | Mon, 13 Aug 2007 13:27:45 -0300 |
David Roundy wrote: The only cost is that this syntax relies on the do notation, and thus makes the desugaring of that do notation slightly more complicated when used.
If I understand correctly,
do
blah
f (do
foo
bar (<- action)
)
blah
has an ambiguity: which do-block is the action bound in? I can easily
imagine myself being frustrated at having to refactor my code if the
defined answer is not the one I want at the moment.
Isaac _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/haskell-cafe |
| Previous by Date: | [Haskell-cafe] xpath types for SYB/generic haskell type system?, Alex Jacobson |
|---|---|
| Next by Date: | Re: [Haskell-cafe] Re: a regressive view of support for imperative programming in Haskell, David Roundy |
| Previous by Thread: | [Haskell-cafe] Re: a regressive view of support for imperative programming in Haskell, apfelmus |
| Next by Thread: | Re: [Haskell-cafe] Re: a regressive view of support for imperative programming in Haskell, David Roundy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |