and yes, teaching is important, and Haskell is not only about teaching,
so teaching needs need to be addressed like the needs of any other
important Haskell application area: by optional, but widely supported,
domain-specific libraries/packages/flags/syntax/..
oh, and it might be useful to look
defaulting can also be used for non-standard arithmetic in teaching
(not something you want to let loose on students who you don't
want to know about type classes, though, so be careful where you
demonstrate this;-):
http://www.cs.kent.ac.uk/people/staff/cr3/toolbox/haskell/R.hs
Main> fold
Hello,
On 11/30/06, Bulat Ziganshin <[EMAIL PROTECTED]> wrote:
Hello Iavor,
how about using Haskell for scripting? i find it as great alternative
to perl/ruby, particularly because i don't want to remember two
languages, particularly because of great data processing instruments
I am speculatin
Hello Iavor,
Thursday, November 30, 2006, 8:41:43 PM, you wrote:
> However, I am not sure that this particular use justifies the
> addition of defaulting to the _language_. For example, it is possible
> that defaulting is implemented as a switch to the command-line
> interpreter.
how about usi
Malcolm Wallace wrote:
> Unfortunately, I suspect that teaching is _the_ major use-case for
> defaulting. Imagine, day one, lesson one, a student types
>
> Prelude> 1+2
>
> into Hugs, and gets the response
>
> Unresolved overloading: Num a
>
> Huh? This is lesson one, and you already
On Thu, 30 Nov 2006, Iavor Diatchki wrote:
> Hello,
>
> On 11/30/06, Philippa Cowderoy <[EMAIL PROTECTED]> wrote:
> > This experienced user regularly uses a haskell interpreter for a desk
> > calculator, not to mention for producing readable budgets that show all
> > the working. Removing default
Hello,
On 11/30/06, Philippa Cowderoy <[EMAIL PROTECTED]> wrote:
On Wed, 29 Nov 2006, Ashley Yakeley wrote:
> That something might confuse the beginning user should count for nothing if it
> does not annoy the more experienced user.
>
This experienced user regularly uses a haskell interpreter
On 27/11/06, Ian Lynagh <[EMAIL PROTECTED]> wrote:
On Mon, Nov 20, 2006 at 12:05:46PM +, Malcolm Wallace wrote:
> Prompted by recent discussion on the Hat mailing list about the problems
> of type-defaulting, I have added two new proposals for this issue to the
> Haskell-prime wiki at:
>
>
On Wed, 29 Nov 2006, Ashley Yakeley wrote:
> That something might confuse the beginning user should count for nothing if it
> does not annoy the more experienced user.
>
This experienced user regularly uses a haskell interpreter for a desk
calculator, not to mention for producing readable budge