Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#131 - Support aliases for simplify, deriv and etc. #652

Merged
merged 1 commit into from Jul 13, 2023
Merged

Conversation

sys27
Copy link
Owner

@sys27 sys27 commented Jul 13, 2023

Closes #131.

  • Use Lambda instead of expressions to pass/return values.
  • Add tests for aliases
  • Simplify CallExpression grammar
  • Return lambdas with parameters
  • Update docs/examples

@sys27 sys27 self-assigned this Jul 13, 2023
@sys27 sys27 added this to the xFunc 4.3.0 milestone Jul 13, 2023
@codecov
Copy link

codecov bot commented Jul 13, 2023

Codecov Report

Merging #652 (d95c115) into dev (bb1ec81) will increase coverage by 0.00%.
The diff coverage is 98.03%.

@@           Coverage Diff           @@
##              dev     #652   +/-   ##
=======================================
  Coverage   99.61%   99.61%           
=======================================
  Files         211      211           
  Lines        8258     8270   +12     
=======================================
+ Hits         8226     8238   +12     
  Misses         32       32           
Impacted Files Coverage Δ
xFunc.Maths/Processor.cs 99.05% <ø> (+0.84%) ⬆️
xFunc.Maths/Expressions/Del.cs 96.96% <93.33%> (-3.04%) ⬇️
...Func.Maths/Analyzers/TypeAnalyzers/TypeAnalyzer.cs 99.91% <100.00%> (ø)
xFunc.Maths/Expressions/Derivative.cs 100.00% <100.00%> (ø)
xFunc.Maths/Expressions/Lambda.cs 100.00% <100.00%> (ø)
xFunc.Maths/Expressions/LambdaExtensions.cs 100.00% <100.00%> (ø)
xFunc.Maths/Expressions/Simplify.cs 100.00% <100.00%> (ø)
xFunc.Maths/Parser.cs 100.00% <100.00%> (ø)

@sys27 sys27 force-pushed the feature/alias branch 6 times, most recently from c850d2e to 0306815 Compare July 13, 2023 16:46
@sys27 sys27 marked this pull request as ready for review July 13, 2023 18:59
@sys27 sys27 merged commit 9ddfb52 into dev Jul 13, 2023
4 of 5 checks passed
@sys27 sys27 deleted the feature/alias branch July 13, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support aliases for simplify, deriv and etc.
1 participant