2

特定の Rebol 関数の引数ブロックを再編成して、関数に必要な引数をより理解しやすくしたいと考えています。Rebol 関数の引数ブロックは、Rebol の柔軟なデータ構造の好例です。

adjoin: func [
    "Adjoins"
    series [series!] "Series to adjoin"
    joinee
    /local other
][...]

しかし、このメタデータを理解するには、もっと予測可能なものが必要です。より準拠した形式にするにはどうすればよいですか? 例:

[
    ; should include about value whether the about string is there or not
    about none none "Adjoins"
    argument series [series!] "Series to Adjoin"
    argument joinee none none
    option local none none
    argument other none none
]

transform メソッドまたは引数の内容を表す最良の方法についての考えは、最も役に立ちます。

4

1 に答える 1