-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: review Readme, improvements, restructuring (#128)
* Docs: review docs, improvements, restructuring * Review and improve the readme * Add folder `advanced` for packages, move Customizing Wolframite there * Customizing Wolframite: switch from `**` which is now in default aliases to st. that is not, fix code, prove it works * Add Clojure primer to the menu * Fix `:start!ed?` * Readme: improve examples, cleanup redundant sections, etc. * Fix readme links to work outside of the book. * Fix help!, improve Wolf 4 clj, bikes util fns * Quickstart: require w with :refer :all and :excludes Issue: More convenient Wolframite w/o all the `w/`, but w/o overriding Clojure/Java core stuff. * Review Quick start & other improvements * Cust. wolframite - subheading, todo * Clj primer - REPL intro * Fix: Re-introduce custom, error-detecting `evaluate` Somehow it got lost, likely in a botched merged. * Review, improve Understanding Wolframite * Add `wl/ns-exclusions` so we can use it in multiple places of the docs; include "assert" mode so that docs will fail if we need to update the exclusions there * Understanding Wolframite: Make the Eval. form first, add crossrefs, ... * Review gotchas - fix name, mention `**` * Review faq * review wolfram-for-clojurians * Review for-scientists.index * Comment on symbols. * Cavities: simplify code, fix typos * Readme: Leverage referred wolf syms, drop w/ * fixes
- Loading branch information
Showing
24 changed files
with
652 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
(ns advanced.customizing-wolframite | ||
(:require [scicloj.kindly.v4.kind :as k] | ||
[wolframite.core :as wl])) | ||
|
||
(k/md "## Customizing Wolframite | ||
There are several ways to customize Wolframite to your liking. | ||
") | ||
|
||
(k/md "### Custom aliases {#sec-custom-aliases} | ||
We've discussed Wolframite's built-in aliases in @sec-aliases-table. | ||
However, Wolframite allows you to individually tailor the user experience at the level of initialization: | ||
") | ||
|
||
#_"**TODO**: Move the more detailed discussion of customizing aliases from for-scientists.index to here" | ||
|
||
(wl/restart! {:aliases '{🔋 Power}}) | ||
(wl/eval '(🔋 2 5)) | ||
|
||
;; , and function call, | ||
(wl/restart!) | ||
(wl/eval '(🔋🔋 2 5) {:aliases '{🔋🔋 Power}}) | ||
|
||
;; Use it how you want to! | ||
|
||
(k/md " | ||
TIP: You can also get convenience vars for your aliases in `wolframite.wolfram` by running something like `(wolframite.impl.wolfram-syms.write-ns/write-ns! <path> {:aliases '{🔋 Power}})`. After you load the file, you'll be able to use `(wl/eval (w/🔋 2 5) {:aliases '{🔋 Power}})`. | ||
") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(ns advanced.index | ||
(:require [scicloj.kindly.v4.kind :as k])) | ||
|
||
(k/md "See the other pages in this section.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.