diff --git a/09-the-one/README.md b/09-the-one/README.md index 9e9905f..e3fbe5b 100644 --- a/09-the-one/README.md +++ b/09-the-one/README.md @@ -3,13 +3,21 @@ Style #9 Constraints: -- Existence of an abstraction to which all functions can be converted. This - main abstraction provides an interface to (1) wrap around values, so that they - become the abstraction; and (2) bind wrapped values to functions, so - to establish sequences of functions. +- Existence of an abstraction to which values can be +converted. + +- This abstraction provides operations to (1) wrap +around values, so that they become the abstraction; (2) bind +itself to functions, so to establish sequences of functions; +and (3) unwrap the value, so to examine the final result. + +- Larger problem is solved as a pipeline of functions bound +together, with unwrapping happening at the end. + +- Particularly for The One style, the bind operation simply +calls the given function, giving it the value that it holds, and holds +on to the returned value. -- Larger problem is solved as a pipeline of functions bound together - by the single interface that chains them. Possible names: diff --git a/11-kinds-of-things/README.md b/11-kinds-of-things/README.md index 7f4a500..8feb7b6 100644 --- a/11-kinds-of-things/README.md +++ b/11-kinds-of-things/README.md @@ -1,4 +1,4 @@ -Style #12 +Style #11 ============================== Constraints: diff --git a/12-hollywood/README.md b/12-hollywood/README.md index 83b87a7..892dfe0 100644 --- a/12-hollywood/README.md +++ b/12-hollywood/README.md @@ -1,4 +1,4 @@ -Style #13 +Style #12 ============================== Constraints: diff --git a/13-bulletin-board/README.md b/13-bulletin-board/README.md index 2b4dc1e..c69ae1e 100644 --- a/13-bulletin-board/README.md +++ b/13-bulletin-board/README.md @@ -1,4 +1,4 @@ -Style #14 +Style #13 ============================== Constraints: diff --git a/14-letterbox/README.md b/14-letterbox/README.md index d1caea6..205c945 100644 --- a/14-letterbox/README.md +++ b/14-letterbox/README.md @@ -1,4 +1,4 @@ -Style #11 +Style #14 ============================== Constraints: diff --git a/15-free-agents/README.md b/15-free-agents/README.md index b32672e..fd60361 100644 --- a/15-free-agents/README.md +++ b/15-free-agents/README.md @@ -1,4 +1,4 @@ -Style #25 +Style #15 ============================== Similar to the letterbox style, but where the 'things' have diff --git a/16-dataspaces/README.md b/16-dataspaces/README.md index f9a82ec..f50c2a1 100644 --- a/16-dataspaces/README.md +++ b/16-dataspaces/README.md @@ -1,4 +1,4 @@ -Style #15 +Style #16 ============================== Constraints: diff --git a/17-introspective/README.md b/17-introspective/README.md index ea0ae33..e121108 100644 --- a/17-introspective/README.md +++ b/17-introspective/README.md @@ -1,4 +1,4 @@ -Style #16 +Style #17 ============================== Constraints: diff --git a/18-reflective/README.md b/18-reflective/README.md index 2fca430..343f812 100644 --- a/18-reflective/README.md +++ b/18-reflective/README.md @@ -1,4 +1,4 @@ -Style #17 +Style #18 ============================== Constraints: diff --git a/19-asides/README.md b/19-asides/README.md index 031685b..234e835 100644 --- a/19-asides/README.md +++ b/19-asides/README.md @@ -1,4 +1,4 @@ -Style #18 +Style #19 ============================== Constraints: diff --git a/20-no-commitment/README.md b/20-no-commitment/README.md index 01302a6..baf49a7 100644 --- a/20-no-commitment/README.md +++ b/20-no-commitment/README.md @@ -1,4 +1,4 @@ -Style #19 +Style #20 ============================== Constraints: diff --git a/25-quarantine/README.md b/25-quarantine/README.md index 63b7143..42adcd4 100644 --- a/25-quarantine/README.md +++ b/25-quarantine/README.md @@ -1,6 +1,8 @@ Style #25 ============================== +This style is a variation of style #09, The One, with the following additional constraints: + Constraints: - Core program functions have no side effects of any kind, including IO diff --git a/30-double-inverse-multiplexer/README.md b/30-double-inverse-multiplexer/README.md index d93e7d9..8c29bda 100644 --- a/30-double-inverse-multiplexer/README.md +++ b/30-double-inverse-multiplexer/README.md @@ -1,7 +1,7 @@ Style #30 ============================== -Very similar to style #12, but with an additional twist +Very similar to style #29, but with an additional twist Constraints: