Skip to content

Commit 9391870

Browse files
mfikesdnolen
authored andcommitted
CLJS-1514: Remove Alpha designators on *-watch and ex-*
Removes "Alpha - subject to change." from the docstrings of following, concomitant with Clojure: - add-watch - remove-watch - ex-info - ex-data - ex-message - ex-cause
1 parent 452edf4 commit 9391870

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

src/main/cljs/cljs/core.cljs

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9132,9 +9132,7 @@ reduces them without incurring seq initialization"
91329132
(set! (.-meta iref) m))
91339133

91349134
(defn add-watch
9135-
"Alpha - subject to change.
9136-
9137-
Adds a watch function to an atom reference. The watch fn must be a
9135+
"Adds a watch function to an atom reference. The watch fn must be a
91389136
fn of 4 args: a key, the reference, its old-state, its
91399137
new-state. Whenever the reference's state might have been changed,
91409138
any registered watches will have their functions called. The watch
@@ -9157,9 +9155,7 @@ reduces them without incurring seq initialization"
91579155
iref)
91589156

91599157
(defn remove-watch
9160-
"Alpha - subject to change.
9161-
9162-
Removes a watch (set by add-watch) from a reference"
9158+
"Removes a watch (set by add-watch) from a reference"
91639159
[iref key]
91649160
(-remove-watch iref key)
91659161
iref)
@@ -9916,32 +9912,28 @@ Maps become Objects. Arbitrary keys are encoded to by key->js."
99169912
(this-as this (pr-str* this))))
99179913

99189914
(defn ex-info
9919-
"Alpha - subject to change.
9920-
Create an instance of ExceptionInfo, an Error type that carries a
9915+
"Create an instance of ExceptionInfo, an Error type that carries a
99219916
map of additional data."
99229917
([msg data] (ex-info msg data nil))
99239918
([msg data cause]
99249919
(ExceptionInfo. msg data cause)))
99259920

99269921
(defn ex-data
9927-
"Alpha - subject to change.
9928-
Returns exception data (a map) if ex is an ExceptionInfo.
9922+
"Returns exception data (a map) if ex is an ExceptionInfo.
99299923
Otherwise returns nil."
99309924
[ex]
99319925
(when (instance? ExceptionInfo ex)
99329926
(.-data ex)))
99339927

99349928
(defn ex-message
9935-
"Alpha - subject to change.
9936-
Returns the message attached to the given Error / ExceptionInfo object.
9929+
"Returns the message attached to the given Error / ExceptionInfo object.
99379930
For non-Errors returns nil."
99389931
[ex]
99399932
(when (instance? js/Error ex)
99409933
(.-message ex)))
99419934

99429935
(defn ex-cause
9943-
"Alpha - subject to change.
9944-
Returns exception cause (an Error / ExceptionInfo) if ex is an
9936+
"Returns exception cause (an Error / ExceptionInfo) if ex is an
99459937
ExceptionInfo.
99469938
Otherwise returns nil."
99479939
[ex]

0 commit comments

Comments
 (0)