File tree Expand file tree Collapse file tree 4 files changed +933
-903
lines changed Expand file tree Collapse file tree 4 files changed +933
-903
lines changed Original file line number Diff line number Diff line change 1+ # Important notice
2+
3+ This module should not yet be depended on, it is for the upcoming 0.7 compiler release.
4+
15# Module Documentation
26
37## Module Prelude
@@ -1105,4 +1109,17 @@ instance showOrdering :: Show Ordering
11051109
11061110
11071111
1112+ ## Module Prelude.Unsafe
1113+
1114+ #### ` unsafeIndex `
1115+
1116+ ``` purescript
1117+ unsafeIndex :: forall a. [a] -> Number -> a
1118+ ```
1119+
1120+ Find the element of an array at the specified index.
1121+
1122+ Note: this function can cause unpredictable failure at runtime if the index is out-of-bounds.
1123+
1124+
11081125
Original file line number Diff line number Diff line change 33 "homepage" : " https://github.com/purescript/purescript-prelude" ,
44 "description" : " The PureScript Prelude" ,
55 "keywords" : [
6- " purescript" ,
6+ " purescript"
77 ],
88 "license" : " MIT" ,
99 "ignore" : [
You can’t perform that action at this time.
0 commit comments