.
4. You define a new namespace using module.
Cheers,
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Claus Reinke wrote:
but on the Pascal note: is there anything in Pascal that Haskell doesn't
provide, and improves on (nested procedures, procedure parameters,
distinguishing in and out parameters, types, ..)?
Subrange types, maybe? But I'm sure Oleg will show us that Haskell
already has
has no side effects, there is no need for a value restriction.
Although there is no need for it, Haskell still has it, in minor
variation. It is commonly known as The Dreaded Monomorphism
Restriction ;).
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible
that with the latter two solutions, as with the OO approach,
you do not have extensibility on the operations dimension.
Cheers,
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
___
Haskell-Cafe
, and as is well-known, extensibility is a red herring in
this context - you merely trade one dimension of extensibility for
another one.
Cheers,
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
their approach to the Expression Problem, and a related paper
by Jacques Garrigue, where he proposes to solve it using OCaml's
polymorphic variants. Both should be easy to dig up with Google, and
probably contain further pointers.
Hope this helps,
- Andreas
--
Andreas Rossberg, [EMAIL
Keean Schupke wrote:
Remember C is typesafe
In which parallel universe?
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo
it uses some kind of linear-alias typing to make pointers safe.
Do you mean Cyclone?
http://www.research.att.com/projects/cyclone/
Cheers,
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
___
Haskell
programs to be rejected.
Huh? How can that ever be sound? Are you sure you didn't mean (\exists a.a)?
- Andreas
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http
[EMAIL PROTECTED] wrote:
rep0' :: [Integer]-- WHAT??
You just have made first contact with the Dreaded Monorphism Restriction.
--
Andreas Rossberg, [EMAIL PROTECTED]
Let's get rid of those possible thingies! -- TB
___
Haskell-Cafe mailing list
10 matches
Mail list logo