flora-commits Mailing List for Flora-2
Brought to you by:
kifer
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(59) |
Jun
(43) |
Jul
(4) |
Aug
(4) |
Sep
(102) |
Oct
(20) |
Nov
(47) |
Dec
(32) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(24) |
Feb
(34) |
Mar
(72) |
Apr
(36) |
May
(10) |
Jun
(46) |
Jul
(36) |
Aug
(24) |
Sep
(37) |
Oct
(27) |
Nov
(43) |
Dec
(40) |
| 2004 |
Jan
(35) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(30) |
Aug
(83) |
Sep
(68) |
Oct
(38) |
Nov
(3) |
Dec
(7) |
| 2005 |
Jan
(9) |
Feb
(31) |
Mar
(46) |
Apr
(73) |
May
(21) |
Jun
(1) |
Jul
(32) |
Aug
(33) |
Sep
(3) |
Oct
(28) |
Nov
(4) |
Dec
(23) |
| 2006 |
Jan
(22) |
Feb
(2) |
Mar
(12) |
Apr
(23) |
May
(73) |
Jun
(14) |
Jul
|
Aug
(20) |
Sep
(14) |
Oct
(5) |
Nov
|
Dec
(14) |
| 2007 |
Jan
(54) |
Feb
(81) |
Mar
(286) |
Apr
(313) |
May
(154) |
Jun
(85) |
Jul
(8) |
Aug
(11) |
Sep
(12) |
Oct
(14) |
Nov
(6) |
Dec
(6) |
| 2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
(12) |
May
(4) |
Jun
|
Jul
(13) |
Aug
(22) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(46) |
Jun
(43) |
Jul
(46) |
Aug
(9) |
Sep
(13) |
Oct
(31) |
Nov
(42) |
Dec
(18) |
| 2014 |
Jan
(7) |
Feb
(7) |
Mar
(11) |
Apr
(13) |
May
(16) |
Jun
(6) |
Jul
(17) |
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
| 2015 |
Jan
|
Feb
(17) |
Mar
(4) |
Apr
(3) |
May
(2) |
Jun
(3) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
1
(4) |
2
|
3
|
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
From: Michael K. <ki...@us...> - 2008-05-01 07:37:19
|
Update of /cvsroot/flora/flora2/lib In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv17036/lib Modified Files: flrtypeconstraint.flr Log Message: make sure system modules are not type-checked Index: flrtypeconstraint.flr =================================================================== RCS file: /cvsroot/flora/flora2/lib/flrtypeconstraint.flr,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- flrtypeconstraint.flr 15 Feb 2007 01:33:16 -0000 1.17 +++ flrtypeconstraint.flr 1 May 2008 07:37:24 -0000 1.18 @@ -154,6 +154,7 @@ // wrong type, nondefault, nonstrict Type[%typeCheckInternal(allsigns,?)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[?Method->?Val, ?Method=>?Type]@?Module, @@ -164,6 +165,7 @@ // missing type, nondefault sign, strict Type[%typeCheckInternal(allsigns,strict)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, (?O[?Method -> ?Val], not ?O[?Method => ?])@?Module, @@ -173,6 +175,7 @@ // wrong type, default sign, nonstrict Type[%typeCheckInternal(?,?)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[?Method*->?Val, ?Method*=>?Type]@?Module, @@ -183,6 +186,7 @@ // missing type, default sign, strict (not checked if nonstrict) Type[%typeCheckInternal(?,strict)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, (?O[?Method *-> ?Val], not ?O[?Method *=> ?])@?Module, @@ -195,6 +199,7 @@ // Same for Boolean methods // wrong type, nondefault, nonstrict Type[%typeCheckBoolInternal(allsigns,?)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[?Method]@?Module, @@ -207,6 +212,7 @@ // missing type, nondefault sign, strict Type[%typeCheckBoolInternal(allsigns,strict)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[?Method]@?Module, @@ -218,6 +224,7 @@ // wrong type, default sign, nonstrict Type[%typeCheckBoolInternal(?,?)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[*?Method]@?Module, @@ -230,6 +237,7 @@ // missing type, default sign, strict (not checked if nonstrict) Type[%typeCheckBoolInternal(?,strict)(?Class,?Method,?Module,?Result)] :- + \+ flora_system_module(?Module)@_prolog(flrlibman), Method[%_mustDefine(?Stat(?Module))]@_sys, Method[%_mustDefine(off(?Module))]@_sys, ?O[*?Method]@?Module, |
|
From: Michael K. <ki...@us...> - 2008-05-01 07:34:59
|
Update of /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv15641/hw1-sol Modified Files: queries.flr project.flr employee.flr division.flr company.flr Log Message: improved type checking Index: company.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/company.flr,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- company.flr 12 Jun 2007 22:44:34 -0000 1.4 +++ company.flr 1 May 2008 07:34:59 -0000 1.5 @@ -1,4 +1,7 @@ +?X:?C :- ?X:?C@divisions. +?X:?C :- ?X:?C@employees. + // Note that we use *=> to give types to attributes. // These types will be inherited to instances as => // See query.flr for the type-checking rules. Index: queries.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/queries.flr,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- queries.flr 1 May 2008 01:08:59 -0000 1.8 +++ queries.flr 1 May 2008 07:34:58 -0000 1.9 @@ -45,7 +45,7 @@ // ?- type_error(?O,?M,?V). // Type checking using the _typecheck module -// ?- Type[%_check(?[?=>?]@employees, ?Violations)]@_typecheck. +// ?- Type[%_check(?[?=>?]@?, ?Violations)]@_typecheck. /* Answers: ?Violations = (${bob[projects -> f1]@employees}, ${bob[projects => project]@employees}) Index: project.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/project.flr,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- project.flr 12 Jun 2007 22:44:34 -0000 1.4 +++ project.flr 1 May 2008 07:34:59 -0000 1.5 @@ -1,4 +1,5 @@ +?X:?C :- ?X:?C@employees. // Note that we use *=> to give types for attributes. // These types will be inherited to instances as => Index: division.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/division.flr,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- division.flr 12 Jun 2007 22:41:58 -0000 1.3 +++ division.flr 1 May 2008 07:34:59 -0000 1.4 @@ -1,4 +1,5 @@ +?X:?C :- ?X:?C@employees. // Note that we use *=> to give types for attributes. // These types will be inherited to instances as => Index: employee.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/employee.flr,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- employee.flr 29 Apr 2008 17:36:59 -0000 1.6 +++ employee.flr 1 May 2008 07:34:59 -0000 1.7 @@ -1,8 +1,7 @@ -:- importmodule divisions. - // importing only the : relationship from projects module ?X:?C :- ?X:?C@projects. +?X:?C :- ?X:?C@divisions. // Note that we use *=> to give types to attributes. // These types will be inherited to instances as => |
|
From: Michael K. <ki...@us...> - 2008-05-01 07:34:54
|
Update of /cvsroot/flora/flora-website/tutorial/homeworks/hw2-sol In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv15641/hw2-sol Modified Files: temporal.flr Log Message: improved type checking Index: temporal.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw2-sol/temporal.flr,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- temporal.flr 12 Jun 2007 23:18:16 -0000 1.5 +++ temporal.flr 1 May 2008 07:34:58 -0000 1.6 @@ -1,7 +1,7 @@ // This is a time ontology that deals with dates and semesters // (For the purposes of this example, only the semester ontology is needed.) -:- ignore_depchk %abort(?_)@?M, +:- ignore_depchk %abort(?_)@?, %base_before(?_,?_). fall(?_Year) : semester. |
|
From: Michael K. <ki...@us...> - 2008-05-01 01:09:03
|
Update of /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv12928 Modified Files: queries.flr Log Message: small improvements Index: queries.flr =================================================================== RCS file: /cvsroot/flora/flora-website/tutorial/homeworks/hw1-sol/queries.flr,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- queries.flr 30 Apr 2008 20:54:58 -0000 1.7 +++ queries.flr 1 May 2008 01:08:59 -0000 1.8 @@ -17,16 +17,16 @@ // Projects that have employees who work for company divisions // that are different from the project's division. ?- ?:project[name->?P, - participants-> ?E[division->?EDiv]@employees, - division->?PDiv]@projects, - ?EDiv != ?PDiv. + participants-> ?_E[division->?_EDiv]@employees, + division->?_PDiv]@projects, + ?_EDiv != ?_PDiv. // The names of all divisions that have the lowest average // salary per employee among all the divisions of the same company -?- ?Div:division[name->?N]@divisions, +?- ?Div:division[name->?_N]@divisions, avg{?_Sal| ?_Sal = (?Div.employees@divisions).salary@employees} = - max{?_AvgSal| + min{?_AvgSal| ?_AvgSal = avg{?_Sal[?_Div1]| ?:company[divisions->{?Div,?_Div1}]@companies, ?_Sal= (?_Div1.employees@divisions).salary@employees} |