doubtful this would even compile unless a 0 object has a 0 method.
Name:
Anonymous2009-03-21 16:47
fixnum
Name:
Anonymous2009-03-21 17:25
irb(main):001:0> 0.0.class
=> Float
Name:
Anonymous2009-03-21 17:38
Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 5.7.8)
Copyright (c) 1990-2009 University of Amsterdam.
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
Please visit http://www.swi-prolog.org for details.
For help, use ?- help(Topic). or ?- apropos(Word).
?- float(0.0).
true.
?- integer(0.0).
false.
P# 1.1.3
Small Prolog Interpreter
| ?- float(0.0).
yes
| ?- integer(0.0).
no
GNU Prolog 1.3.0
By Daniel Diaz
Copyright (C) 1999-2007 Daniel Diaz
| ?- float(0.0).
yes
| ?- integer(0.0).
no
Name:
Anonymous2009-03-21 18:55
P# GNU Prolog
lol toy prologs
Name:
Anonymous2009-03-21 18:58
So >>12-san, what is an example of a "real" prolog?
Name:
Anonymous2009-03-21 19:01
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio print(type(0.0))
number