lambdaspeech
::
require
1
[
pages
][
login
][
load
]
{require lambdaspeech::my_library lambdaspeech::lib_BN} _h1 require _p The {b require} function gives access to any code stored in other wiki pages, allowing the creation of shared {b libraries}. Note that libraries from other {b local} wikis can be accessed. _p Currently the require function uses iframes, not AJAX, and is not completely effective. When library pages are not in the localStorage of your browser functions are not applied and the display is broken, at least impredictible. In this case a button [ {b Please, refresh this page} ] appears at the top of the page and calls for your help. Please do click! This weakness should be fixed some day. Wait & see... _p As an example, we call the page [[my_library]] containing a few user defined functions and the page [[lib_BN]] containing a full big number JS library. In order to use them in these pages we write the expression {pre '{require lambdaspeech::my_library lambdaspeech::lib_BN} } _p and play {pre '{sum_of 3 4} -> {sum_of 3 4} '{product_of 3 4} -> {product_of 3 4} '{difference_of 3 4} -> {difference_of 3 4} '{quotient_of 3 4} -> {quotient_of 3 4} '{hypo 3 4} -> {hypo 3 4} '{Φ} -> {Φ} '{amelie} } -> {amelie} {pre '{BN.fac 50} -> {BN.fac 50} }
lambdaspeech v.20180812