Factor/FAQ/Unanswered questionsAdd ideas for questions here, and we'll answer them and incorporate the answers into the FAQ. Q: How are hashes implemented in Factor? Generically, how can hashes be implemented efficiently within a language where the principle data structure is a stack? I've added an answer to Develop. Q: how do I inspect the source code of a word?
Q: If I were going to create a series of vocabularies based around text, is there hierarchy support? e.g. text.lorem, text.leetspeak, text.balanced or should they have just underscores in their name? textlorem A: there's hierarchy support. Q: Say I have '5' on the stack, and I want to create a sequence { 1 x 3 } and place 5 where the x is, what's the best way to do this? 1 x 3 }
[04:01] Gertm: ah so simple, awesome :)
[04:03] slava: prunedtree would suggest something like 5 1array { 1 } { 3 } surround [ ] map
This revision created on Tue, 23 Feb 2010 09:10:54 by metaperl (a question about building an array) |
|
|
All content is © 2008-2010 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license. |
|