HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

DDC/ReleaseNotes-Alpha1.1

< DDC

New features vs Alpha1

  many1 :: Parser tok a -> Parser tok [a]
  many1 parser
   = do	x	<- parser
 	rest	<- many parser
	pReturn	(x : rest)
  data Set a = ...
 
  project Set a with 
     { size; toList; ... }
 
  size   = ...
  toList = ...
 
  main = ... someSet.size ...
  import Data.List
         Data.Maybe
         Data.Set

Known Issues

Being an alpha release there is enough implemented to write some programs, but there are also a few missing features and some other things to look out for:

Inferred types may not have type-class contexts, neither can class and instance definitions. (ticket)
eg: this is ok
   instance Show (List Int) where
   ...
but this is not:
   instance Show a => Show (List a) where
   ...
If an instance has more effects than the definition, or the regions are not as fresh, then the compiler will panic when type checking the core. (ticket)
The runtime system does not support functions being partially applied to unboxed arguments. Nor does it support unboxed data being free in the closure of a function, or being used as the argument to a polymorphic data type. None of these are checked, and all will result in a runtime crash. All other uses should be fine. (ticket)
Exporting mutable data containing monomorphic type vars is unsound because client modules could update it at different types. (ticket)
Not for any fundamental algorithmic reason, but because all the work has been put into fixing bugs and getting it off the ground - and not so much fixing space leaks and optimising the compiler itself. For example: When importing the Prelude, the entire set of module interface files needs to be parsed and added to the type graph. We'd likely get a big improvement by only loading what's needed for each particular program. (ticket)

Old News

ReleaseNotes for Alpha1

Retrieved from "http://haskell.org/haskellwiki/DDC/ReleaseNotes-Alpha1.1"

This page has been accessed 217 times. This page was last modified 01:07, 4 July 2008. Recent content is available under a simple permissive license.