~ubuntu-branches/ubuntu/raring/agda/raring-proposed

« back to all changes in this revision

Viewing changes to doc/release-notes/2-2-4.txt

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2009-07-20 19:49:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090720194941-hcjy91vrn16csh7d
Tags: upstream-2.2.4+dfsg
Import upstream version 2.2.4+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
------------------------------------------------------------------------
 
2
-- Release notes for Agda 2 version 2.2.4
 
3
------------------------------------------------------------------------
 
4
 
 
5
Important changes since 2.2.2:
 
6
 
 
7
* Change to the semantics of "open import" and "open module". The
 
8
  declaration
 
9
 
 
10
    open import M <using/hiding/renaming>
 
11
 
 
12
  now translates to
 
13
 
 
14
    import A
 
15
    open A <using/hiding/renaming>
 
16
 
 
17
  instead of
 
18
 
 
19
    import A <using/hiding/renaming>
 
20
    open A.
 
21
 
 
22
  The same translation is used for "open module M = E …". Declarations
 
23
  involving the keywords as or public are changed in a corresponding
 
24
  way ("as" always goes with import, and "public" always with open).
 
25
 
 
26
  This change means that import directives do not affect the qualified
 
27
  names when open import/module is used. To get the old behaviour you
 
28
  can use the expanded version above.
 
29
 
 
30
* Names opened publicly in parameterised modules no longer inherit the
 
31
  module parameters. Example:
 
32
 
 
33
    module A where
 
34
      postulate X : Set
 
35
 
 
36
    module B (Y : Set) where
 
37
      open A public
 
38
 
 
39
  In Agda 2.2.2 B.X has type (Y : Set) → Set, whereas in Agda 2.2.4
 
40
  B.X has type Set.
 
41
 
 
42
* Previously it was not possible to export a given constructor name
 
43
  through two different "open public" statements in the same module.
 
44
  This is now possible.
 
45
 
 
46
* Unicode subscript digits are now allowed for the hierarchy of
 
47
  universes (Set₀, Set₁, …): Set₁ is equivalent to Set1.