<||= importPartial "components/breadcrumbs.html" ||>
<||
functionCount: 0
predicateCount: 0
constantCount: 0
loop sort keys get pageTree\documentation\library last chop pagePath 'fff [
fun: replace replace fff "_" "" "-" "?"
if? :function = type var fun [
if? '?' = last fun [
predicateCount: predicateCount + 1
]
else [
functionCount: functionCount + 1
]
]
else [
constantCount: constantCount + 1
]
]
||>
<||= if functionCount > 0 [ ||>
<||
funcList: select map sort keys get pageTree\documentation\library last chop pagePath 'fff [
@[last chop pagePath, replace replace fff "_" "" "-" "?"]
] 'fff [
and? :function = type var fff\1 '?' <> last fff\1
]
plusOne: (odd? size funcList)? -> 1 -> 0
||>
<||= loop first.n: plusOne + (size funcList)/2 funcList 'fff [ ||>
- <||= fff\1 ||>
<||]||>
<||= if 1 < size funcList [ ||>
<||= loop last.n: (size funcList)/2 funcList 'fff [ ||>
- <||= fff\1 ||>
<||]||>
<|| ] ||>
<|| ] ||>
<||= if predicateCount > 0 [ ||>
<||
predicateList: select map sort keys get pageTree\documentation\library last chop pagePath 'fff [ replace replace fff "_" "" "-" "?" ] 'fun [ and? :function = type var fun '?' = last fun ]
plusOne: (odd? size predicateList)? -> 1 -> 0
||>
<||= loop first.n: plusOne + (size predicateList)/2 predicateList 'fun [ ||>
- <||= fun ||>
<||]||>
<||= if 1 < size predicateList [ ||>
<||= loop last.n: (size predicateList)/2 predicateList 'fun [ ||>
- <||= fun ||>
<||]||>
<|| ] ||>
<|| ] ||>
<||= if constantCount > 0 [ ||>
<||
constantList: select map sort keys get pageTree\documentation\library last chop pagePath 'fff [ replace replace fff "_" "" "-" "?" ] 'fun [ :function <> type var fun ]
plusOne: (odd? size constantList)? -> 1 -> 0
||>
<||= loop first.n: plusOne + (size constantList)/2 constantList 'fun [ ||>
- <||= fun ||>
<||]||>
<||= if 1 < size constantList [ ||>
<||= loop last.n: (size constantList)/2 constantList 'fun [ ||>
- <||= fun ||>
<||]||>
<|| ] ||>
<||= replace githubMarkdown replace W\overview ["<||=" "<||" "||>"] ["$%%=" "$%%" "%%$"] ["$%%=" "$%%" "%%$"] ["<||=" "<||" "||>"] ||>