I continue to integrate Bleve search into Rye. This is a small demo that shows new Bleve functionality and also few interesting features of Rye. Like functions *fix* *private* and *enter-console".
With enter-console you can enter a rye console at any point, to debug, explore or just use it as an interface. Since it's an ordinary function, you can call it inside other functions, callbacks, etc ...
Function *private* creates a sub-context (*private\* creates one with a docstring) executes code inside it and returns the result. It can be useful for code organization and better separation of concerns.
Anyhow ... follow us on github.
BTW:
Rye and Rebol functions have fixed arity. A function with \ at the end is a convention for the same function without \ AND more. There is 'private { }' and 'private\ "doc" { }', there is "ls" and 'ls\ "prin"' for example.
Komentarji
Objavite komentar