Difference between revisions of "Mathematical prelude discussion"

From HaskellWiki
Jump to: navigation, search
(link to: haskell gsoc proposal for richer numerical type classes and supporting algorithms)
(Undo revision 63546 by Ysangkok (talk); found it in the wiki which is now on gitlab)
 
(3 intermediate revisions by 2 users not shown)
Line 28: Line 28:
 
=== Haskell Prime' ===
 
=== Haskell Prime' ===
   
[http://haskell.galois.com/cgi-bin/haskell-prime/trac.cgi/wiki/NumericClasses Numeric classes] on the Haskell' wiki
+
[https://gitlab.haskell.org/haskell/prime/-/wikis/numeric-classes Numeric classes] on the Haskell' wiki
   
 
=== See Also ===
 
=== See Also ===

Latest revision as of 06:04, 10 December 2020

Purpose

There have been many ideas for improving the prelude's support for mathematics. Including the addition of algebraic classes. But the discussion is spread over years of list archives and a half dozen websites. And the discussion has never gelled.

This page is intended to collect links to past discussion, and to provide a focal point for advancing the discussion.

Todo

Libraries and proposals

Numeric Prelude

Working set of common type classes and instances.

Basic Algebra Library (BAL)

Is not in community report 2006-06.
0.04/announce.txt (2006-02)
www.botik.ru/pub/local/Mechveliani/basAlgPropos/
Formerly refered to as "basic algebra proposal".

Categorical Approach to representing mathematical structures in Haskell: [1]

Haskell Prime'

Numeric classes on the Haskell' wiki

See Also

Discussion

For me that probably starts with the semigroup/group/ring setup, and good arbitrary-precision as well as approximate linear algebra support.

I agree: semigoups like lattices are everywhere. Then there could be a uniform treatment of linear algebra, polynomial equations, operator algebra, etc.

MAGMA is an example of a language which embraced mathematical structure. MitchellNCharity 23:16, 14 November 2006 (UTC)

  • Aldor/Axiom may be a place to look for a good type class hierarchy