Not really...

Remember <- is part of the do notation. You use it within monads when using do, and never outside of them :) Well... list comps as well, but it's much of a muchness.
 
On 11 August 2010 22:12, prad <prad@towardsfreedom.com> wrote:
i'm using them right i think because it works, but my understanding is
fuzzy.

it seems <- is used when you do things like load a file or get
arguments from outside or if you are return something from a function

these seem to take the form of something other than an internal type
like Int or String and have to be 'massaged' into use with things like
show or fromSql etc

the = is used with let and seems to work for any assignments that are
internal.

are these assessments correct?

--
In friendship,
prad

                                     ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners