ドキュメント

リファレンスマニュアル

開発版リファレンスマニュアル

正式リリース前の、development HEADに近いバージョンのマニュアルです。 この内容は正式リリースまでに変更される可能性があります。

マニュアル中のトピックへのリンク

オンラインのマニュアルにリンクを張る場合、 htmlファイルのURLはマニュアルの改訂によってずれる可能性があるので、 次のURLを使うと便利です。

 https://practical-scheme.net/gauche/man/?l=ja&p=TOPIC 

トピック名には、関数名、マクロ名、モジュール名、クラス名、 セクションタイトルが使えます。 英語版を参照するにはl=jaの部分をl=enとします。

開発版マニュアルのトピック名に飛ぶには、 queryパラメータにv=draftを追加してください。

https://practical-scheme.net/gauche/man/?l=ja&v=draft&p=TOPIC 

REPLからマニュアルを読む

REPLにて、トップレベルコマンド,doc,infoを使って マニュアルを読むこともできます。

gosh$ ,doc string-ref
 -- Function: string-ref cstring k :optional fallback
     [R7RS+ base] Returns K-th character of a complete string CSTRING.
     It is an error to pass an incomplete string.

     By default, an error is signaled if ‘k’ is out of range (negative,
     or greater than or equal to the length of CSTRING).  However, if an
     optional argument FALLBACK is given, it is returned in such case.
     This is Gauche's extension.

     If CSTRING is a multibyte string without index attached, this
     procedure takes O(K) time.  *Note String indexing::, for ensuring
     O(1) access.

     K can also be a string cursor (also Gauche's extension).  Cursor
     acccess is O(1). 

また、正規表現にマッチするマニュアルエントリの検索もできます。

gosh> ,doc #/string-r/
bytrestring-replace      String-notated bytevectors:134
string-range             Range:111
string-ref               String accessors & modifiers:17
string-remove            String library (reduced):51
string-replace           SRFI-13 Other string operations:6
string-replace!          Linear adjustable-length strings:53
                         Simple adjustable-size strings:33
string-replicate         String library (reduced):66
string-reverse           SRFI-13 String reverse & append:6
string-reverse!          SRFI-13 String reverse & append:7 

特定のトピックについてのドキュメント

特定のトピックを扱った短い文書です。 ソースツリーのdoc/ディレクトリ下にあります。