blob: 1f30de85cacfc3656fceba7b6870183e0f50ca51 (
plain)
1
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
32
33
34
|
(.module:
[library
[lux
[program (#+ program:)]
["$" documentation (#+ documentation:)]
["." debug]
[control
["." io]]]]
[\\library
["." /]]
["." / #_
["#." abstract]
["#." control]])
(documentation: /.:of
"Generates the type corresponding to a given expression."
[(let [my_num +123]
(:of my_num))
"=>"
.Int]
[(:of +123)
"=>"
.Int])
(.def: .public documentation
(.List $.Module)
($.module /._
""
[..:of]
[/abstract.documentation
/control.documentation]))
(program: inputs
(io.io (debug.log! ($.documentation ..documentation))))
|