This commit is contained in:
jverzani
2022-10-03 12:00:35 -04:00
parent 8ad4cf2fce
commit 2391be2626
10 changed files with 161 additions and 34 deletions

View File

@@ -39,12 +39,6 @@ However, for each new `Julia` session, the package must be *loaded*, as with the
using CalculusWithJulia
```
```{julia}
#| echo: false
#| results: "hidden"
using CalculusWithJulia.WeaveSupport
```
That is all. The rest of this page just provides some details for the interested reader.
@@ -140,5 +134,3 @@ This design works great when the "generic" usage matches the needs of the packag
* The extension of a generic is for a type defined outside the author's package. This is known as "type piracy" and is frowned on, as it can lead to subtle errors. The `CalculusWithJulia` package practices this for one case: using `'` to indicate derivatives for `Function` objects.
* The generic function concept is not part of base `Julia`. An example might be the `solve` function. This name has a well-defined mathematical usage (e.g., "solve for $x$."), but the generic concept is not part of base `Julia`. As it is used by `SymPy` and `DifferentialEquations`, among others, the ecosystem has a stub package `CommonSolve` allowing the sharing of this "verb."