Commit Graph

1958 Commits

Author SHA1 Message Date
Ikko Eltociear Ashimine
e44f68ba8c
chore: update list.bend
occurence -> occurrence
2024-06-27 02:57:53 +09:00
Nicolas Abril
8440fad2a4
Merge pull request #605 from HigherOrderCO/468-patterns-in-fun-rules-shouldnt-accept-unscoped-variables
#468 Patterns in "fun" rules should accept unscoped variables
2024-06-26 09:58:10 +00:00
imaqtkatt
94bff60775 Add test with unscoped pattern on definition rule 2024-06-25 18:10:26 -03:00
imaqtkatt
eb1fd23a92 Update changelog 2024-06-25 17:50:13 -03:00
imaqtkatt
785de8c679 Allow unscoped variables on irrefutable rules 2024-06-25 17:47:08 -03:00
Nicolas Abril
a0aa467b73
Merge pull request #599 from HigherOrderCO/578-add-user-friendly-file-io-functions
#578 Add File IO utility functions
2024-06-24 18:04:35 +00:00
imaqtkatt
644eadb4a2
Merge pull request #603 from HigherOrderCO/470-add-fast-access-to-pred-variable-in-equational-pattern-matching-on-numbers
#470 Add fast access to pred variable
2024-06-24 17:05:50 +00:00
imaqtkatt
70944db468
Merge pull request #604 from HigherOrderCO/with-fun-undefer-docs
Fix the monadic example using `with` for fun syntax
2024-06-24 17:05:11 +00:00
Nicolas Abril
71b87c4b2b
Fix the monadic example using with for fun syntax 2024-06-24 18:53:18 +02:00
imaqtkatt
042773a837 Rename current variable 2024-06-24 13:33:51 -03:00
Nicolas Abril
9f6ba009d5 Update builtins.md with the new file utility functions 2024-06-24 18:12:39 +02:00
imaqtkatt
c23952f443 Implement fast pred access function 2024-06-24 12:45:15 -03:00
Nicolas Abril
4b131204e4
Merge pull request #602 from cstiago/564-add-notes-square-brackets-syntax
#564 Add notes on square brackets syntax
2024-06-24 15:10:39 +00:00
imaqtkatt
33ae28c088 Update builtins docs 2024-06-24 11:15:28 -03:00
Nicolas Abril
c9cfd19d09
Update link to issue 579 in changelog
Co-authored-by: imaqtkatt <135721694+imaqtkatt@users.noreply.github.com>
2024-06-24 15:46:24 +02:00
Tiago Cunha
8127865012 Add notes on square brackets syntax 2024-06-23 23:45:37 -03:00
Nicolas Abril
ec33f9b14c Properly propagate builtin state of defs extracted from bend/fold 2024-06-21 20:19:43 +02:00
Nicolas Abril
ea56af9048 Add file IO utils 2024-06-21 20:19:43 +02:00
imaqtkatt
d6ea0010c3
Merge pull request #597 from HigherOrderCO/596-add-elif-terms-to-fun-syntax
#596 Add elif terms to fun syntax
2024-06-21 18:04:26 +00:00
imaqtkatt
e94991345a Add missing elifs 2024-06-21 12:39:49 -03:00
imaqtkatt
8694b79500 Add elif chain to functional syntax 2024-06-20 16:12:49 -03:00
Nicolas Abril
c4afa0f248
Merge pull request #594 from HigherOrderCO/580-add-string-encoding-functions
#580 Add string encoding functions
2024-06-19 12:59:07 +00:00
imaqtkatt
e0b51f1d95 Update docs and changelog 2024-06-19 09:52:55 -03:00
imaqtkatt
4b9032ecfb Improve decode builtins 2024-06-19 09:25:35 -03:00
imaqtkatt
05302760e4 Update docs and changelog 2024-06-18 19:11:07 -03:00
imaqtkatt
cc60c926a8 Add utf8 and ascii encoding functions 2024-06-18 18:41:33 -03:00
Nicolas Abril
78f0968281
Merge pull request #593 from HigherOrderCO/573-implement-file-io-in-bend
#573 Add primitive file IO functions
2024-06-18 20:15:23 +00:00
Nicolas Abril
e57caa189e Add file IO functions 2024-06-18 21:56:49 +02:00
Nicolas Abril
84661fd12a
Merge pull request #592 from HigherOrderCO/581-add-friendlier-sleep-functions
#581 Add builtin sleep in float seconds
2024-06-18 19:31:02 +00:00
Nicolas Abril
12a6588128 Add builtin sleep in float seconds 2024-06-18 19:03:45 +02:00
Nicolas Abril
0381f8a109
Merge pull request #591 from HigherOrderCO/call-desugar-use-before-linearize-matches
Call desugar_use before linearize matches
2024-06-17 18:08:01 +00:00
imaqtkatt
ec67e3f6be Add full_map test 2024-06-17 12:29:51 -03:00
imaqtkatt
5810f93f9b Update golden_tests.rs and readd desugar_use call after linearize matches 2024-06-17 12:20:08 -03:00
imaqtkatt
3073285e36 Call desugar_use before linearize matches 2024-06-17 11:40:55 -03:00
Nicolas Abril
f26d5e85d4
Merge pull request #590 from HigherOrderCO/582-add-native-casting-operations
#582 Add native casting operations
2024-06-17 13:49:42 +00:00
Nicolas Abril
ba8561c3d4 Add native number cast operations 2024-06-17 15:45:37 +02:00
Nicolas Abril
f8d6d13a24 Write log and atan2 as native hvm defs 2024-06-17 15:31:22 +02:00
Nicolas Abril
9fc8a726af Fix pruning of native hvm defs 2024-06-17 15:31:22 +02:00
Nicolas Abril
8b5555c490
Merge pull request #589 from HigherOrderCO/586-add-option-to-write-raw-hvm-in-bend-programs
#586 Add raw hvm function syntax
2024-06-16 22:47:34 +00:00
Nicolas Abril
d79e542ac6
Add link to HVM syntax 2024-06-16 22:16:56 +02:00
Nicolas Abril
be7b8d3cad Fix parsing of hvm defs 2024-06-15 18:57:36 +02:00
Nicolas Abril
d6bdde548e Add raw hvm function syntax 2024-06-15 17:22:55 +02:00
Nicolas Abril
4d43bd9405
Merge pull request #585 from HigherOrderCO/583-add-log-and-atan2-operations-for-floats
#583 Add log and atan2 operations for floats
2024-06-13 18:13:38 +00:00
imaqtkatt
f11af644d1 Improve log and atan2 code comments 2024-06-13 13:48:34 -03:00
imaqtkatt
f8811850a7 Update num ops test 2024-06-13 10:39:07 -03:00
imaqtkatt
bc43142649 Update docs 2024-06-13 09:59:33 -03:00
imaqtkatt
88a3a310d6 Update changelog 2024-06-13 09:11:14 -03:00
imaqtkatt
893c620df9 Add log and atan2 as builtin functions 2024-06-13 09:06:32 -03:00
imaqtkatt
4db1e68f2d
Merge pull request #584 from HigherOrderCO/add-changelog-for-past-versions
#549 Add changelog for past versions
2024-06-12 19:21:40 +00:00
imaqtkatt
f1392b6979 Add missing links, add 0.2.7 and adjust cspell 2024-06-12 14:18:57 -03:00