universal algebra "support" in Haskell?

Hello, I see that there is a "Monoid" class from Data.Monoid. What other algebras like Group, Ring, etc. have support in Haskell? Thanks, Vasili

Num is basically Ring, but is spoiled by the inclusion of abs and signum, which of course mainly only make sense for subrings of C.
Hello, I see that there is a "Monoid" class from Data.Monoid. What other algebras like Group, Ring, etc. have support in Haskell?Thanks, Vasili

On Thu, 23 Oct 2008, Galchin, Vasili wrote:
I see that there is a "Monoid" class from Data.Monoid. What other algebras like Group, Ring, etc. have support in Haskell?
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/numeric-prelude/

Hi Henning, Do you have any examples of say "instance Lattice"? Vasili On Thu, Oct 23, 2008 at 11:14 AM, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Thu, 23 Oct 2008, Galchin, Vasili wrote:
I see that there is a "Monoid" class from Data.Monoid. What other
algebras like Group, Ring, etc. have support in Haskell?
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/numeric-prelude/

oops .. I see C Bool and C Integer on
http://cvs.haskell.org/darcs/numericprelude/docs/html/Algebra-Lattice.html.
..
On Thu, Oct 23, 2008 at 10:56 PM, Galchin, Vasili
Hi Henning,
Do you have any examples of say "instance Lattice"?
Vasili
On Thu, Oct 23, 2008 at 11:14 AM, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Thu, 23 Oct 2008, Galchin, Vasili wrote:
I see that there is a "Monoid" class from Data.Monoid. What other
algebras like Group, Ring, etc. have support in Haskell?
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/numeric-prelude/

On Thu, 23 Oct 2008 22:56:32 -0500, "Galchin, Vasili"
Hi Henning,
Do you have any examples of say "instance Lattice"?
I would be interested in an "instance Lattice" as well. Such an example could be related to a complete partial ordering in domain theory. -- Benjamin L. Russell

On Fri, 24 Oct 2008 13:50:47 +0900, Benjamin L.Russell
On Thu, 23 Oct 2008 22:56:32 -0500, "Galchin, Vasili"
wrote: Hi Henning,
Do you have any examples of say "instance Lattice"?
I would be interested in an "instance Lattice" as well. Such an example could be related to a complete partial ordering in domain theory.
Whoops! At the following site: HackageDB: numeric-prelude-0.0.5 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/numeric-prelude/ I just found a reference to the following page: Algebra.Lattice http://hackage.haskell.org/packages/archive/numeric-prelude/0.0.5/doc/html/A... This could be an answer. -- Benjamin L. Russell

Galchin, Vasili
Do you have any examples of say "instance Lattice"?
http://web.cecs.pdx.edu/~mpj/pubs/lattices.html http://web.cecs.pdx.edu/~mpj/pubs/springschool.html -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig You can take the boy out of Harvard, but you can't take the boy's signature...

I "cabal installed" numeric-prelude .. however, unlike other packages(e.g. Sqlite3), I am unable to ":m numeric-prelude" in a ghci session.?? Vasili On Thu, Oct 23, 2008 at 11:14 AM, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Thu, 23 Oct 2008, Galchin, Vasili wrote:
I see that there is a "Monoid" class from Data.Monoid. What other
algebras like Group, Ring, etc. have support in Haskell?
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/numeric-prelude/

On Fri, 24 Oct 2008, Galchin, Vasili wrote:
I "cabal installed" numeric-prelude .. however, unlike other packages(e.g. Sqlite3), I am unable to ":m numeric-prelude" in a ghci session.??
':m' is for importing modules not packages, at least up to GHC-6.8.2. For playing around with the package I advice following docs/README.
participants (5)
-
Benjamin L.Russell
-
Chung-chieh Shan
-
DavidA
-
Galchin, Vasili
-
Henning Thielemann