diff options
author | Eduardo Julian | 2017-10-16 19:55:24 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-10-16 19:55:24 -0400 |
commit | 25609806f670b4e6a5ef0b132929c1f4f96ed100 (patch) | |
tree | 50b107d94a9c2109e4589646fa7c8cf2372863d2 /stdlib/source/lux.lux | |
parent | f54e6e22e5044a0cdf28e5ee01e90e1866b29dfc (diff) |
- Re-named "Vector" to "Sequence" to avoid confusion with mathematical vectors.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index 7d26ce777..e8bd4d3ea 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -2192,7 +2192,7 @@ (|> data' (join-map (. apply (make-env bindings'))) return) - (fail "Irregular arguments vectors for do-template."))) + (fail "Irregular arguments tuples for do-template."))) _ (fail "Wrong syntax for do-template")) @@ -5625,9 +5625,9 @@ {#;doc (doc "Allows you to refer to the type-variables in a polymorphic function's type, by their index." "In the example below, +0 corresponds to the 'a' variable." (def: #export (from-list list) - (All [a] (-> (List a) (Vector a))) + (All [a] (-> (List a) (Sequence a))) (list/fold add - (: (Vector ($ +0)) + (: (Sequence ($ +0)) empty) list)))} (case tokens |