aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/ffi.rb.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-08-11 02:38:59 -0400
committerEduardo Julian2021-08-11 02:38:59 -0400
commita62ce3f9c2b605e0033f4772b0f64c4525de4d86 (patch)
treeecbabe8f110d82b2e6481cf7c0532d4bd4386570 /stdlib/source/library/lux/ffi.rb.lux
parent464b6e8f5e6c62f58fa8c7ff61ab2ad215e98bd1 (diff)
Relocated maybe and lazy from data to control.
Diffstat (limited to 'stdlib/source/library/lux/ffi.rb.lux')
-rw-r--r--stdlib/source/library/lux/ffi.rb.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/ffi.rb.lux b/stdlib/source/library/lux/ffi.rb.lux
index 26fea6c27..8bffde0d6 100644
--- a/stdlib/source/library/lux/ffi.rb.lux
+++ b/stdlib/source/library/lux/ffi.rb.lux
@@ -7,18 +7,18 @@
[monad (#+ do)]]
[control
["." io]
+ ["." maybe]
["<>" parser ("#\." monad)
["<.>" code (#+ Parser)]]]
[data
["." product]
- ["." maybe]
["." text
["%" format]]
[collection
["." list ("#\." functor fold)]]]
[type
abstract]
- [macro (#+ with_gensyms)
+ [macro (#+ with_identifiers)
[syntax (#+ syntax:)]
["." code]
["." template]]]])
@@ -162,7 +162,7 @@
(` (let [(~ g!temp) (~ output)]
(if (not ("ruby object nil?" (~ g!temp)))
(~ g!temp)
- (.error! "Nil is an invalid value!"))))))
+ (.panic! "Nil is an invalid value!"))))))
(type: Import
(#Class Text (Maybe Alias) Text (List Member))
@@ -226,10 +226,10 @@
(~+ (list\map (with_nil g!temp) g!inputs)))))))))))
(syntax: .public (import: {[?module import] ..import})
- (with_gensyms [g!temp]
+ (with_identifiers [g!temp]
(case import
(#Class [class alias format members])
- (with_gensyms [g!object]
+ (with_identifiers [g!object]
(let [qualify (: (-> Text Code)
(function (_ member_name)
(|> format