root/trunk/HasCASL/test/Alias.hascasl @ 11877

Revision 11877, 381 bytes (checked in by maeder, 5 months ago)

disallowed explicit pseudo type notation following := (assign)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1types S, T
2type Binary := S * S -> T
3var s: Type
4type MyPred s := s ->? Unit
5type MyAlias t := t ->? Unit
6
7type a1 a b := a -> b -> Unit
8type a1 (a) (b) := a -> b  -> Unit
9
10type a2 a b := a -> Unit
11
12type a3 (a) (a) := a -> Unit
13
14type a4 a a := a -> Unit
15
16type a5 a
17
18type a5 a := a5 a -> Unit
19
20type a6 a
21
22type a7 a := a6 a -> Unit
23
24type a6 a := a7 a -> Unit
25
26type a2 : Type -> Type
Note: See TracBrowser for help on using the browser.