This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/z.md
2015-09-21 17:05:36 -05:00

853 B

Prolog Pyhon Prolog Examples
Numbers Numbers 2.3
1545
Atom Symbols var
$Atom $var [ = var]
string 'string' `hello`
"string" ' "hello"
Atom(...) Symb(...) f( a, b, named=v)
E.F(...) E.F (...) mod.f( a)
Atom() f() [ = '()'(f) ]
Lists Lists [1,2,3]
t(....) Tuples t(1,2,3) to (1,2,3)
(..., ...) (1,2,3)[ = (1,(2,3))]
{.=., .=.} Dict {`one`: 1, `two`: 2, `three`: 3}