Fixed some bugs

This commit is contained in:
2020-07-05 20:19:19 +02:00
parent 71f753c925
commit 56e1cb4587
13 changed files with 67 additions and 43 deletions
+4 -1
View File
@@ -73,9 +73,12 @@ def concept one hundred as 100
one hundred isa number
def concept hundreds from bnf number=n1 'hundred' 'and' number=n2 where n1 < 10 and n2 < 100 as n1 * 100 + n2
hundreds isa number
#def concept hundreds from bnf number 'hundred' where number < 10 as number * 100
def concept hundreds from bnf number 'hundred' where number < 10 as number * 100
last_created_concept() is number
def concept thousands from bnf number 'thousand' where number < 1000 as number * 1000
thousands isa number
def concept thousands from bnf number=n1 'thousand' 'and' number=n2 as n1 * 1000 + n2 where n1 < 1000 and n2 < 1000
last_created_concept() is number
def concept history as history()
def concept plus from a plus b as a + b
def concept mult from a mult b as a * b