Hi Simon,
| When you say there's a good theoretical foundation (typed lambda
| calcului) I think you are imagining that when we say
|
| f (x::a) = e
|
| we are saying "There's a /\a as well as a \x::a in this definition".
No, that's not what I'm thinking. When you say "f (x::a) = e", I'
Ch. A. Herrmann <[EMAIL PROTECTED]>
writes
> [..]
> Anyway, an algebraic library is important:
> it is nice that Haskell has the rational numbers but recently, it
> appeared useful for me also to have the algebraic numbers, e.g.,
> to evaluate expressions containing roots exactly. The problem is
"Manuel M. T. Chakravarty" <[EMAIL PROTECTED]> writes:
> I didn't say that this works for any kind of parser
> combinator, I merely said that it works Doitse's and mine.
> Both implement SLL(1) parsers for which - as I am sure, you
> know - there exists a decision procedure for testing
> ambiguit
On 14-May-2001, S.D.Mechveliani <[EMAIL PROTECTED]> wrote:
> I was said that there exists an algebraic library proposal for
> Haskell (version 0.02) dated by February (2001?), by Dylan Thurston.
>
> Who could, please, tell me where to download this document from?
> For I could not find it from
Hi Haskellers,
> "S" == S D Mechveliani writes:
S> I was said that there exists an algebraic library proposal for
S> Haskell (version 0.02) dated by February (2001?), by Dylan
S> Thurston.
that sounds interesting for me. Sorry, that I don't have an answer to your
question, but
I was said that there exists an algebraic library proposal for
Haskell
(version 0.02) dated by February (2001?), by Dylan Thurston.
Who could, please, tell me where to download this document from?
For I could not find it from http://haskell.org
Thanks in advance for the help.
Andy Fugard <[EMAIL PROTECTED]> writes
> Hi all,
>
> I'm currently teaching myself a little Haskell. This morning I coded the
> following, the main function of which, permutate, returns all the
> permutations of a list. (Well it seems to at least!)
>
> [..]
The BAL library implements severa
At 13:43 14/05/01 +0200, Ralf Hinze wrote:
>Andy Fugard wrote:
>
> > My main question is really what facilities of the language I should be
> > looking at to make this code more elegant! As you can see I currently know
> > only the basics of currying, and some list operations.
>
>Definitely list
Andy Fugard wrote:
> My main question is really what facilities of the language I should be
> looking at to make this code more elegant! As you can see I currently know
> only the basics of currying, and some list operations.
Definitely list comprehensions! I digged out some old code:
> module
Hi all,
I'm currently teaching myself a little Haskell. This morning I coded the
following, the main function of which, permutate, returns all the
permutations of a list. (Well it seems to at least!)
insertAt :: a -> Int -> [a] -> [a]
insertAt x i xs
| i < 0 || i > length xs = error "
10 matches
Mail list logo