diff options
author | Eduardo Julian | 2017-01-17 19:43:51 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-01-17 19:43:51 -0400 |
commit | 766bb3c24838072b0fc83505a6f6c09444faa8c6 (patch) | |
tree | 0aa032b435bbf8284d60e652f8778499e4444acb /stdlib | |
parent | 4a039138dd87e2c2f232f9ce7198b4e36ca403f9 (diff) |
- Added some type combinators for type constructors.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/source/lux.lux | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index 8af215b43..76093eb29 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -5712,3 +5712,12 @@ (#;Left (~ (text$ (Text/append "Wrong syntax for " name)))) ))))) )) + +(type: #export (<&> f g) + (All [a] (& (f a) (g a)))) + +(type: #export (<|> f g) + (All [a] (| (f a) (g a)))) + +(type: #export (<.> f g) + (All [a] (f (g a)))) |