Skip to content

Commit 5101783

Browse files
committed
Re-organized logic modules and function poly(morph|typ)ism modules.
1 parent fbe7e46 commit 5101783

File tree

207 files changed

+388
-239
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+388
-239
lines changed

stdlib/source/library/lux/abstract/functor.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[library
66
[lux (.except function)
77
[function
8-
["//" polytypism]]]])
8+
[poly
9+
["//" type]]]]])
910

1011
... https://en.wikipedia.org/wiki/Functor
1112
(every .public (Functor !)

stdlib/source/library/lux/abstract/functor/effect.lux

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[library
66
[lux (.except Or or)
77
[function
8-
["[0]" polytypism]]]]
8+
[poly
9+
["[0]" type]]]]]
910
["[0]" // (.only Functor)])
1011

1112
(every .public (Effect input output !)
@@ -19,7 +20,7 @@
1920
[input (|>> next on)])))
2021

2122
(the .public Or
22-
polytypism.Sum)
23+
type.Sum)
2324

2425
(the .public or
2526
//.sum)

stdlib/source/library/lux/compiler/default/platform.lux

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
["[0]" exception (.only Exception)]]
1616
["[0]" function]
1717
[data
18-
["[0]" bit]
1918
["[0]" sum]
2019
["[0]" product]
2120
["[0]" binary (.only Binary)

stdlib/source/library/lux/compiler/language/lux/analysis/complex.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
[equivalence (.only Equivalence)]
1010
[hash (.only Hash)]]
1111
[data
12-
["[0]" bit]
1312
["[0]" text (.only)
1413
["%" \\injection]]
1514
[collection
1615
["[0]" list (.use "[1]#[0]" functor)]]]
16+
[logic
17+
["[0]" bit]]
1718
[math
1819
[number
1920
[/64

stdlib/source/library/lux/compiler/language/lux/analysis/coverage.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@
1717
["[0]" exception (.only Exception)]]
1818
[data
1919
["[0]" product]
20-
["[0]" bit]
2120
["[0]" text (.only)
2221
["%" \\injection]]
2322
[collection
2423
["[0]" list (.use "[1]#[0]" functor mix)]
2524
["[0]" stack]
2625
["[0]" dictionary (.only Dictionary)]
2726
["[0]" set (.only Set)]]]
27+
[logic
28+
["[0]" bit]]
2829
[math
2930
[number
3031
[/64

stdlib/source/library/lux/compiler/language/lux/analysis/simple.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
[abstract
88
[equivalence (.only Equivalence)]]
99
[data
10-
["[0]" bit]
1110
["[0]" text (.only Injection)
1211
["%" \\injection]]]
12+
[logic
13+
["[0]" bit]]
1314
[math
1415
[number
1516
[/64

stdlib/source/library/lux/compiler/language/lux/phase/analysis/complex.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
["[0]" try]
1515
["[0]" exception (.only Exception)]]
1616
[data
17-
["[0]" bit]
1817
["[0]" product]
1918
["[0]" text (.only)
2019
["%" \\injection]]
2120
[collection
2221
["[0]" list (.use "[1]#[0]" monad)]
2322
["[0]" stack (.use "[1]#[0]" functor)]
2423
["[0]" dictionary (.only Dictionary)]]]
24+
[logic
25+
["[0]" bit]]
2526
[math
2627
[number
2728
[/64

stdlib/source/library/lux/compiler/language/lux/phase/extension/analysis/jvm.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
[function
2020
["[0]" predicate]]
2121
[data
22-
["[0]" bit]
2322
["[0]" product]
2423
[binary (.only Binary)
2524
["[0]" \\injection]]
@@ -32,6 +31,8 @@
3231
["[0]" stack]
3332
["[0]" dictionary (.only Dictionary)]
3433
["[0]" sequence]]]
34+
[logic
35+
["[0]" bit]]
3536
[math
3637
[number
3738
["i[0]" /32

stdlib/source/library/lux/compiler/language/lux/phase/synthesis/when.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
["[0]" try]]
1515
[data
1616
["[0]" product]
17-
["[0]" bit]
1817
["[0]" text]
1918
[collection
2019
["[0]" list (.use "[1]#[0]" functor mix monoid)]
2120
["[0]" set (.only Set)]]]
21+
[logic
22+
["[0]" bit]]
2223
[math
2324
[number
2425
["[0]" /64 (.only)

stdlib/source/library/lux/compiler/language/lux/synthesis.lux

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
[data
1919
["[0]" sum]
2020
["[0]" product]
21-
["[0]" bit]
2221
["[0]" text (.only)
2322
["%" \\injection]]
2423
[collection
2524
["[0]" list (.use "[1]#[0]" functor monoid)]
2625
["[0]" dictionary (.only Dictionary)]]]
26+
[logic
27+
["[0]" bit]]
2728
[math
2829
[number
2930
["[0]" /64 (.only)

0 commit comments

Comments
 (0)