The following message is a courtesy copy of an article
that has been posted to comp.lang.ml,comp.lang.functional as well.
Dear Colleagues,
I would be most grateful if you would distribute the appended
Call For Papers to your colleagues (and/or any mailing lists
you see appropriate). Any help i
Sengan Baring-Gould writes:
>Is >>= not lazy?
since no experts have answered yet, this newbie will answer.
I think it's strict.
somewhere in the compiler doco, IIRC, it says (>>=) was lazy at
first, but experience showed it was more confusing for users
(Haskell programmers).
moreover, from the
On 23-Oct-2000, José Romildo Malaquias <[EMAIL PROTECTED]> wrote:
> - cut here
> module Main where
>
> class C a where
> f :: (?env :: Integer) => a -> Integer
>
> instance C Integer where
> f x = ?env + x
>
> main = putStrLn (show (f (45::Integer) with ?env = 10
Hi.
While experimenting with the implicit parameter
extension to Haskell 98, implemented in GHC 4.08.1
and latest Hugs, I came accross a difference among
those implementations regarding overloading functions
with implicit parameters.
As a test consider the program
- cut