Last active
November 19, 2016 04:16
-
-
Save guaracy/12466e0c901ec15357ac2425fc1546e3 to your computer and use it in GitHub Desktop.
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
Red [ | |
Title: "Red - functions" | |
Author: "Guaracy Monteiro" | |
Version: 0.0.1 | |
Needs: 'View | |
] | |
;#include %help.red ; help.red from %environment/console | |
fn: copy [] | |
foreach w sort words-of system/words [ | |
if all [word? w any-function? get/any :w] [ | |
append fn w | |
] | |
] | |
view [ | |
title "Red - functions" | |
l: text-list 150x300 data [] on-change [a/text: fetch-help fn/(l/selected)] | |
a: area 500x300 | |
do [ | |
foreach f fn [ | |
append l/data mold f | |
] | |
] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment